chore: remove trailing whitespace from README.md line 42
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
x-environment: &default-env
|
||||
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||
SECRET_KEY: "REPLACE-ME-WITH-ANY-LONG-RANDOM-STRING"
|
||||
PORT: 8000
|
||||
GLITCHTIP_DOMAIN: http://localhost:8000 # or https://errors.example.com
|
||||
EMAIL_URL: consolemail:// # change to smtp+tls://user:pass@host:587
|
||||
DEFAULT_FROM_EMAIL: glitchtip@example.com
|
||||
ENABLE_OPEN_USER_REGISTRATION: "True"
|
||||
|
||||
x-depends_on: &default-depends
|
||||
- postgres
|
||||
- redis
|
||||
|
||||
# ---------- services ----------
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:14
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: "trust"
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
image: glitchtip/glitchtip:v5.0 # use :latest to auto-track new releases
|
||||
ports: ["127.0.0.1:8000:8000"]
|
||||
depends_on: *default-depends
|
||||
environment: *default-env
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./uploads:/glitchtip/uploads
|
||||
worker:
|
||||
image: glitchtip/glitchtip:v5.0
|
||||
command: celery -A glitchtip worker -B -l INFO
|
||||
depends_on: *default-depends
|
||||
environment: *default-env
|
||||
restart: unless-stopped
|
||||
|
||||
migrate:
|
||||
image: glitchtip/glitchtip:v5.0
|
||||
command: "./manage.py migrate"
|
||||
depends_on: *default-depends
|
||||
environment: *default-env
|
||||
restart: "no" # runs once then exits
|
||||
|
||||
Reference in New Issue
Block a user