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