diff --git a/portainer-compose-stacks/GW/errors-glitchtip.yml b/portainer-compose-stacks/GW/errors-glitchtip.yml new file mode 100644 index 0000000..5ca9bbf --- /dev/null +++ b/portainer-compose-stacks/GW/errors-glitchtip.yml @@ -0,0 +1,55 @@ +version: '3' + +services: + web: + image: glitchtip/glitchtip:latest + restart: unless-stopped + depends_on: + - postgres + - redis + ports: + - "8800:8000" + environment: + - SECRET_KEY=your_random_secret_key_here + - DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres + - REDIS_URL=redis://redis:6379/0 + - GLITCHTIP_DOMAIN=https://glitchtip.yourdomain.com + - EMAIL_URL=smtp://email:password@smtp_url:port + - DEFAULT_FROM_EMAIL=info@yourdomain.com + # Optional settings + - GLITCHTIP_MAX_EVENT_LIFE_DAYS=90 + - UWSGI_WORKERS=2 + - CELERY_WORKER_CONCURRENCY=2 + # Uncomment if you've donated + # - I_PAID_FOR_GLITCHTIP=true + + worker: + image: glitchtip/glitchtip:latest + restart: unless-stopped + depends_on: + - postgres + - redis + environment: + - SECRET_KEY=your_random_secret_key_here + - DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres + - REDIS_URL=redis://redis:6379/0 + - C_FORCE_ROOT=true + command: celery -A glitchtip worker -l INFO + + postgres: + image: postgres:13 + restart: unless-stopped + environment: + - POSTGRES_PASSWORD=postgres + volumes: + - postgres_data:/var/lib/postgresql/data + + redis: + image: redis:6 + restart: unless-stopped + volumes: + - redis_data:/data + +volumes: + postgres_data: + redis_data: \ No newline at end of file