version: "3.7" services: app_proxy: environment: APP_HOST: opencode_app_1 APP_PORT: 4096 app: image: ghcr.io/anomalyco/opencode:1.17.20@sha256:f5381f02f54777e1ea51a4790be843e76e2d9a0ca3488633c8b71e136f9c590d command: ["serve", "--hostname", "0.0.0.0", "--port", "4096"] restart: on-failure user: "1000:1000" environment: HOME: /home/opencode volumes: - ${APP_DATA_DIR}/data/opencode:/home/opencode/