# Bugsink (PEP-58): self-hosted error tracker, Sentry SDK compatible. # Its database is `bugsink` in Peppa's Postgres (container peppa-postgres, network peppa_default). # Secrets come from Peppa's .env: scripts/bugsink-up.sh runs # docker compose --env-file /.env -f infra/bugsink/docker-compose.yml up -d name: peppa-bugsink services: bugsink: image: bugsink/bugsink:2.6.3 container_name: peppa-bugsink restart: unless-stopped ports: - "127.0.0.1:3180:8000" environment: SECRET_KEY: ${BUGSINK_SECRET_KEY:?BUGSINK_SECRET_KEY in .env} DATABASE_URL: postgresql://bugsink:${BUGSINK_DB_PASSWORD:?BUGSINK_DB_PASSWORD in .env}@peppa-postgres:5432/bugsink CREATE_SUPERUSER: ${BUGSINK_ADMIN_EMAIL:-admin@telecom.quest}:${BUGSINK_ADMIN_PASSWORD:?BUGSINK_ADMIN_PASSWORD in .env} BASE_URL: ${BUGSINK_PUBLIC_URL:-https://bugsink.telecom.quest} # Cloudflare terminates TLS, Traefik forwards plain HTTP. BEHIND_HTTPS_PROXY: "true" USER_REGISTRATION: "closed" PHONEHOME: "false" # Alerts go to Peppa on the host (http://host.docker.internal:3100/api/hooks/bugsink/…), a non-global address. ALERTS_WEBHOOK_DENY_NON_GLOBAL: "false" TIME_ZONE: Europe/Moscow extra_hosts: - "host.docker.internal:host-gateway" networks: [peppa] networks: peppa: name: peppa_default external: true