library/sentry/_9/docker-compose.yml

53 lines
900 B
YAML
Raw Permalink Normal View History

2018-10-27 03:58:37 +00:00
version: '3'
services:
sentry:
container_name: sentry
image: sentry
env_file:
- .env
ports:
- '9000:9000'
depends_on:
- db
- redis
tty: true
stdin_open: true
cron:
container_name: sentry-cron
image: sentry
command: run cron
env_file:
- .env
depends_on:
- db
- redis
worker:
container_name: sentry-worker
image: sentry
command: run worker
env_file:
- .env
depends_on:
- db
- redis
redis:
container_name: sentry-redis
image: redis
volumes:
- redis-data:/data
ports:
- '6379:6379'
db:
container_name: sentry-postgres
image: postgres
environment:
POSTGRES_USER: sentry
POSTGRES_PASSWORD: secret
volumes:
- pg-data:/var/lib/postgresql/data
ports:
- '5432:5432'
volumes:
redis-data:
pg-data: