40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
services:
|
|
goosed-canary:
|
|
image: tkmind/goosed:prod-${GOOSED_TAG:-latest}
|
|
container_name: goosed-prod-canary
|
|
restart: unless-stopped
|
|
env_file: ${GOOSED_PROD_ENV_FILE:-/Users/john/Project/goosed-prod/.env}
|
|
environment:
|
|
GOOSE_PORT: 18006
|
|
GOOSE_AIDER_BIN: /usr/local/bin/aider
|
|
GOOSE_OPENHANDS_BIN: /usr/local/bin/openhands
|
|
GOOSE_OPENHANDS_RUNNER: host
|
|
GOOSE_OPENHANDS_TIMEOUT_SECS: "900"
|
|
ports:
|
|
- "18015:18006"
|
|
volumes:
|
|
- ${CANDIDATE_RUNTIME_DIR:?}:/opt/portal:ro
|
|
- ${GOOSED_RUNTIME_TOOLS_DIR:?}:/opt/tools:ro
|
|
- ${GOOSED_RUNTIME_TOOLS_DIR:?}/bin/aider:/usr/local/bin/aider:ro
|
|
- ${GOOSED_RUNTIME_TOOLS_DIR:?}/bin/openhands:/usr/local/bin/openhands:ro
|
|
- ${GOOSED_RUNTIME_TOOLS_DIR:?}/openhands-data:/opt/tools/openhands-data
|
|
- ${GOOSED_HARNESS_DIR:?}:/home/goose/.codex/harness
|
|
- ${MINDSPACE_ROOT:?}:${MINDSPACE_ROOT:?}
|
|
- ${MINDSPACE_STORAGE_ROOT:?}:${MINDSPACE_STORAGE_ROOT:?}
|
|
- goosed-canary-data:/home/goose/.local/share/goose
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-kfsS", "https://127.0.0.1:18006/status"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|
|
networks:
|
|
- goosed-net
|
|
|
|
volumes:
|
|
goosed-canary-data:
|
|
|
|
networks:
|
|
goosed-net:
|
|
driver: bridge
|