Skip to content

The only tool you need to know what is happening and how to fix it.

672 B
Raw Blame
services:
  traceway:
    build:
      context: ../..
      dockerfile: Dockerfile.sqlite
    ports:
      - "${BENCH_PORT:-8087}:80"
    environment:
      JWT_SECRET: "bench-jwt-secret-not-for-production-use-only-32chars+"
      HEALTH_DEEP_TOKEN: "bench-health-token-not-for-production"
      SQLITE_RETENTION_DAYS: "0"
      SESSION_RECORDING_RETENTION_DAYS: "0"
      GIN_MODE: "release"
    volumes:
      - traceway-bench-sqlite-data:/data
    restart: on-failure:3
    healthcheck:
      test: ["CMD", "wget", "-qO-", "http://localhost/health"]
      interval: 5s
      timeout: 3s
      start_period: 10s
      retries: 20

volumes:
  traceway-bench-sqlite-data: