services: pipelines: build: . user: "${PIPELINES_UID:-10001}:${PIPELINES_GID:-10001}" init: true restart: unless-stopped stop_grace_period: 60s environment: TZ: ${TZ:?Set TZ to your host timezone; scripts/configure-compose.py detects it} PIPELINES_WEB_PUBLIC_URL: ${PIPELINES_WEB_PUBLIC_URL:-} PIPELINES_DEFAULT_MODEL: ${PIPELINES_DEFAULT_MODEL:-} PIPELINES_HOST_IP: ${PIPELINES_HOST_IP:-} PIPELINES_PUBLIC_PORT: ${PIPELINES_PORT:-8080} PIPELINES_UID: ${PIPELINES_UID:-10001} PIPELINES_GID: ${PIPELINES_GID:-10001} ports: - "${PIPELINES_BIND_ADDRESS:-0.0.0.0}:${PIPELINES_PORT:-8080}:8080" volumes: - type: volume source: pipelines-data target: /data volume: nocopy: true - type: volume source: opencode-home target: /home/pipelines volume: nocopy: true - pipelines-workspace:/workspace - type: bind source: ${PIPELINES_HOST_HOME:?Run ./install to configure the host repository mount} target: ${PIPELINES_HOST_HOME:?Run ./install to configure the host repository mount} bind: create_host_path: false - type: bind source: ${PIPELINES_HOST_REPOSITORY:?Run ./install to configure the host repository mount} target: ${PIPELINES_HOST_REPOSITORY:?Run ./install to configure the host repository mount} bind: create_host_path: false healthcheck: test: ["CMD", "pipelines", "--url", "ws://127.0.0.1:8080/connect", "status", "--json"] interval: 5s timeout: 5s retries: 12 start_period: 10s volumes: pipelines-data: opencode-home: pipelines-workspace: