services: app: container_name: doco-cd # You can also pin to a specific tag (version) # Available tags can be found here: https://github.com/kimdre/doco-cd/pkgs/container/doco-cd image: ghcr.io/kimdre/doco-cd:0.57 restart: unless-stopped ports: - "8011:80" # Webhook endpoint - "8012:9120" # Prometheus metrics # For all available environment variables and explanations, see https://github.com/kimdre/doco-cd/wiki/App-Settings environment: TZ: Asia/Ho_Chi_Minh GIT_ACCESS_TOKEN: ea408ab20f6375a0689912dd5e98c7cf3cde9d27 # WEBHOOK_SECRET: xxx # Uncomment this line and the webhook port above and set a secure secret if you want to use webhooks. # <<: *poll-config # Uncomment this line to use the poll configuration from above (the `x-poll-config` section). volumes: - /var/run/docker.sock:/var/run/docker.sock # The data volume (left side) can also be replaced with a bind mount to a local directory, for example: # - ./data:/data - /docker/dococd/data:/data healthcheck: test: [ "CMD", "/doco-cd", "healthcheck" ] start_period: 15s interval: 30s timeout: 5s retries: 3