mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-12 15:53:46 -04:00
The template used mysql:latest with binary logging on and no limit, so the binary logs filled the disk and Bugsink stopped. Use postgres:17-alpine and bugsink/bugsink:2, as the Bugsink Docker Compose sample does. Existing services keep MySQL; the changelog tells how to purge the logs and turn binary logging off. Closes #10626 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.8 KiB
YAML
52 lines
1.8 KiB
YAML
# documentation: https://www.bugsink.com/docs/
|
|
# slogan: Self-hosted Error Tracking.
|
|
# category: monitoring
|
|
# tags: python, error-tracking, django, postgresql
|
|
# logo: svgs/bugsink.svg
|
|
# port: 8000
|
|
|
|
services:
|
|
postgres:
|
|
image: 'postgres:17-alpine'
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
|
- POSTGRES_DB=${POSTGRES_DB:-bugsink}
|
|
volumes:
|
|
- bugsink-postgres-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|
|
|
|
web:
|
|
image: 'bugsink/bugsink:2'
|
|
restart: unless-stopped
|
|
environment:
|
|
- SECRET_KEY=$SERVICE_PASSWORD_64_BUGSINK
|
|
- CREATE_SUPERUSER=${BUGSINK_ADMIN_EMAIL:?}:$SERVICE_PASSWORD_BUGSINK
|
|
- SERVICE_URL_BUGSINK_8000
|
|
- BASE_URL=$SERVICE_URL_BUGSINK
|
|
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-bugsink}
|
|
- BEHIND_HTTPS_PROXY=True
|
|
- SITE_TITLE=${SITE_TITLE:-Bugsink}
|
|
- TIME_ZONE=${TIME_ZONE:-UTC}
|
|
- PHONEHOME=${PHONEHOME:-False}
|
|
- EMAIL_HOST=${EMAIL_HOST}
|
|
- EMAIL_PORT=${EMAIL_PORT:-587}
|
|
- EMAIL_HOST_USER=${EMAIL_HOST_USER}
|
|
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD}
|
|
- EMAIL_USE_TLS=${EMAIL_USE_TLS:-True}
|
|
- EMAIL_USE_SSL=${EMAIL_USE_SSL:-False}
|
|
- DEFAULT_FROM_EMAIL=${DEFAULT_FROM_EMAIL}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "python -c 'import requests; requests.get(\"http://localhost:8000/health/ready\").raise_for_status()'"]
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|