10 Sentinels Active
SENTINEL 01: [AEGIS] AUDITING POCKETBASE INFRASTRUCTURE...
Back to Self-Hosted Stacks
GlitchTip

Deploy GlitchTip

Open source error tracking that's compatible with Sentry SDKs.

Quick Start

1

Create a directory

mkdir glitchtip-self-hosted && cd glitchtip-self-hosted
2

Create config file

Copy the content from the Config tab below into a file named docker-compose.yml

3

Deploy

docker compose up -d
Fast Track

Deploy GlitchTip in Minutes

Use our optimized Docker templates to deploy GlitchTip on any cloud provider. Get $200 in free credit to start on DigitalOcean.

Start with free creditDeploy on DigitalOcean
$200

Metadata

License
MIT
Language
Python
Last Updated
8/21/2022
Category
Monitoring

Configuration

yaml
services:
  glitchtip:
    image: glitchtip/glitchtip:latest
    container_name: glitchtip
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_started
    ports:
      - "8000:8000"
    environment:
      - DATABASE_URL=postgres://glitchtip:glitchtip@db:5432/glitchtip
      - REDIS_URL=redis://redis:6379
      - SECRET_KEY=changeme
      - DEFAULT_FROM_EMAIL=noreply@localhost
      - GLITCHTIP_DOMAIN=http://localhost:8000

  worker:
    image: glitchtip/glitchtip:latest
    container_name: glitchtip-worker
    restart: unless-stopped
    command: ./bin/run-celery-with-beat.sh
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_started
    environment:
      - DATABASE_URL=postgres://glitchtip:glitchtip@db:5432/glitchtip
      - REDIS_URL=redis://redis:6379
      - SECRET_KEY=changeme

  db:
    image: postgres:14-alpine
    container_name: glitchtip-db
    restart: unless-stopped
    environment:
      - POSTGRES_USER=glitchtip
      - POSTGRES_PASSWORD=glitchtip
      - POSTGRES_DB=glitchtip
    volumes:
      - glitchtip_db_data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U glitchtip"]
      interval: 10s
      timeout: 5s
      retries: 5

  redis:
    image: redis:alpine
    container_name: glitchtip-redis
    restart: unless-stopped

volumes:
  glitchtip_db_data:

Community Notes

Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.

No community notes yet. Be the first to add context.