version: "3.7" services: app_proxy: environment: APP_HOST: opencode_app_1 APP_PORT: 4096 app: image: ghcr.io/anomalyco/opencode:1.14.41@sha256:e48b6ca2acdfc33026eab4c7edf24f7a32bb600a34792e2ea53684a21772713d command: ["web", "--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/