# ghglance web UI, built from this repo's Dockerfile. services: ghglance: build: . entrypoint: ["ghglance"] command: ["-serve", ":8080", "-data-dir", "/data", "-retention", "24h"] restart: unless-stopped # Tells Coolify's proxy which container port to route to, even when the # domain is entered without a ":8080" suffix. expose: - "8080" environment: - SERVICE_FQDN_GHGLANCE_8080 - GITHUB_TOKEN=${GHGLANCE_TOKEN:?set a public-only GitHub token} volumes: - ghglance-data:/data healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8080/healthz"] interval: 30s timeout: 5s retries: 3 start_period: 10s volumes: ghglance-data: