-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
116 lines (109 loc) · 2.5 KB
/
docker-compose.yml
File metadata and controls
116 lines (109 loc) · 2.5 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '2'
services:
nginx:
image: nginx:alpine
restart: always
hostname: nginx
ports:
- "80:80"
- "443:443"
links:
- sentry-web
depends_on:
- sentry-web
volumes:
- /etc/localtime:/etc/localtime:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./data/letsencrypt:/etc/letsencrypt
- ./data/letsencrypt-www:/tmp/letsencrypt
letsencrypt:
restart: always
image: kvaps/letsencrypt-webroot
volumes:
- /etc/localtime:/etc/localtime:ro
- ./data/letsencrypt:/etc/letsencrypt
- ./data/letsencrypt-www:/tmp/letsencrypt
links:
- nginx
env_file: env/letsencrypt
redis:
restart: always
image: redis:alpine
hostname: redis
expose:
- "6379"
volumes:
- "./data/redis:/data"
memcached:
restart: always
image: memcached:alpine
hostname: memcached
expose:
- "11211"
postgres:
restart: always
image: postgres:alpine
hostname: postgres
expose:
- "5432"
volumes:
- "./data/postgres/etc:/etc/postgresql"
- "./data/postgres/log:/var/log/postgresql"
- "./data/postgres/lib/data:/var/lib/postgresql/data"
sentry-web:
restart: always
image: sentry:8.22
hostname: sentry
expose:
- "9000"
- "9001"
env_file: env/sentry
depends_on:
- redis
- postgres
- memcached
- sentry-cron
- sentry-worker
links:
- postgres
- redis
- memcached
volumes:
- ./sentry.conf.py:/etc/sentry/sentry.conf.py:ro
environment:
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
sentry-cron:
restart: always
image: sentry:8.22
hostname: sentry
command: "sentry run cron"
env_file: env/sentry
depends_on:
- redis
- postgres
- memcached
links:
- postgres
- redis
- memcached
environment:
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
sentry-worker:
restart: always
image: sentry:8.22
hostname: sentry
command: "sentry run worker"
env_file: env/sentry
depends_on:
- redis
- postgres
- memcached
links:
- postgres
- redis
- memcached
environment:
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres