services: work-server: build: context: . dockerfile: Dockerfile container_name: work-server logging: driver: json-file options: max-size: "200m" max-file: "2" user: "0:0" group_add: - "${SERVER_COMMAND_DOCKER_GID:-984}" cpus: 1.5 mem_limit: 2048m working_dir: /app env_file: - path: ./.env.example required: false - path: ./.env required: false ports: - '127.0.0.1:3100:3100' volumes: - ../../../:/workspace/main-project - ../../../.auto_codex:/workspace/auto_codex - ../../../scripts:/workspace/repo-scripts:ro - ${SERVER_COMMAND_DOCKER_SOCKET:-/var/run/docker.sock}:${SERVER_COMMAND_DOCKER_SOCKET:-/var/run/docker.sock} - ./.docker/home:/home/how2ice - ./.docker/codex-home:/codex-home - ./.docker/codex-home-template:/codex-home-template environment: TZ: ${APP_TIME_ZONE:-Asia/Seoul} HOME: /home/how2ice CODEX_HOME: /codex-home PLAN_CODEX_TEMPLATE_HOME: /codex-home-template PLAN_CODEX_BIN: ${PLAN_CODEX_BIN:-codex} PLAN_CODEX_ENABLED: ${PLAN_CODEX_ENABLED:-false} PLAN_WORKER_ENABLED: ${PLAN_WORKER_ENABLED:-false} APP_TIME_ZONE: ${APP_TIME_ZONE:-Asia/Seoul} DB_TIME_ZONE: ${DB_TIME_ZONE:-Asia/Seoul} NPM_CONFIG_CACHE: /home/how2ice/.npm SERVER_COMMAND_DOCKER_SOCKET: ${SERVER_COMMAND_DOCKER_SOCKET:-/var/run/docker.sock} DOCKER_HOST: ${DOCKER_HOST:-} networks: - work-backend extra_hosts: - 'host.docker.internal:host-gateway' networks: work-backend: name: work-backend