version: "3.7" services: app_proxy: environment: APP_HOST: opencode_app_1 APP_PORT: 4096 app: image: ghcr.io/anomalyco/opencode:1.19.4@sha256:bf8e2b5f785166a12a26cbb34ef1a2d35403368438efe036fd16c795a975c505 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/