-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
60 lines (51 loc) · 1.08 KB
/
docker-compose.yaml
File metadata and controls
60 lines (51 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.7'
x-defaults: &defaults
image: sentry:9.1-onbuild
restart: unless-stopped
depends_on:
- sentry-redis
- sentry-postgres
- sentry-memcached
env_file: .env
environment:
SENTRY_MEMCACHED_HOST: sentry-memcached
SENTRY_REDIS_HOST: sentry-redis
SENTRY_POSTGRES_HOST: sentry-postgres
volumes:
- sentry-data:/var/lib/sentry/files
services:
workspace:
build:
context: .
args:
PUID: ${PUID}
PGID: ${PGID}
restart: unless-stopped
init: true
command: sleep infinity
volumes:
- .:/workspace
sentry:
<<: *defaults
ports:
- "$SENTRY_WEB_PORT:9000"
sentry-cron:
<<: *defaults
command: run cron
sentry-worker:
<<: *defaults
command: run worker
sentry-memcached:
restart: unless-stopped
image: memcached:1.5-alpine
sentry-redis:
restart: unless-stopped
image: redis:3.2-alpine
sentry-postgres:
restart: unless-stopped
image: postgres:9.5
volumes:
- sentry-postgres:/var/lib/postgresql/data
volumes:
sentry-data:
sentry-postgres: