From 22f113e6a40e350fc3ab6f689a889fc8ac6de128 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Mon, 19 May 2025 20:14:28 +0300 Subject: [PATCH] glitchtip --- .../GW/errors-glitchtip.yml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 portainer-compose-stacks/GW/errors-glitchtip.yml 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