-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
88 lines (73 loc) · 1.62 KB
/
docker-compose.yml
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
version: "2.2"
services:
redis:
image: redis
restart: always
ports:
- "6379:6379"
haproxy:
image: haproxy
restart: always
ports:
- "80:80"
- "9000:9000"
depends_on:
- server
- legacy
volumes:
- "./haproxy.conf:/usr/local/etc/haproxy/haproxy.cfg"
worker:
image: backstroke/worker
depends_on:
- redis
environment:
REDIS_URL: redis://redis:6379
DEBUG: backstroke:*
# GITHUB_BOT_USERNAME
# GITHUB_TOKEN
server:
image: backstroke/server
ports:
- "8000:8000"
depends_on:
- redis
environment:
# DATABASE_URL
DATABASE_REQUIRE_SSL: 'false'
REDIS_URL: redis://redis:6379
DEBUG: backstroke:*
PORT: 8000
# SENTRY_CONFIG
# GITHUB_TOKEN
# GITHUB_CLIENT_ID
# GITHUB_CLIENT_SECRET
# GITHUB_CALLBACK_URL
# SESSION_SECRET
CORS_ORIGIN_REGEXP: backstroke\.(co|us)
APP_URL: https://app.backstroke.co
API_URL: https://api.backstroke.co
ROOT_URL: https://backstroke.co
operation-dispatcher:
image: backstroke/operation-dispatcher
depends_on:
- redis
environment:
DATABASE_URL: postgres://docker:docker@database:5432/docker
DATABASE_REQUIRE_SSL: 'false'
REDIS_URL: redis://redis:6379
DEBUG: backstroke:*
# GITHUB_TOKEN
legacy:
image: backstroke/legacy
ports:
- '4000:4000'
depends_on:
- server
environment:
DEBUG: backstroke:*
# GITHUB_TOKEN
PORT: 4000
API_URL: server:8000
ROOT_URL: https://backstroke.co
volumes:
cache: