version: '3.8' services: gitcitadel-online: build: context: . dockerfile: Dockerfile container_name: gitcitadel-online restart: unless-stopped ports: - "8080:8080" volumes: # Mount config file (create from config.yaml.example) - ./config.yaml:/app/config.yaml:ro # Persist cache directory - ./cache:/app/cache environment: # Optional: override config path # - CONFIG_PATH=/app/config.yaml # Optional: set log level # - LOG_LEVEL=info networks: - gitcitadel-network healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: gitcitadel-network: driver: bridge