-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathexample-docker-compose.yml
More file actions
64 lines (63 loc) · 1.69 KB
/
example-docker-compose.yml
File metadata and controls
64 lines (63 loc) · 1.69 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
services:
suggestions_redis:
image: redis:7.4-alpine
container_name: "suggestions_redis"
ports:
- '3001:3001'
command: redis-server --port 3001 --save 20 1 --loglevel warning --requirepass haziness-sloppy-cycle-deduct-superman-undertook
volumes:
- cache:/data
suggestions_bot_cluster_1:
container_name: "suggestions_bot_cluster_1"
image: docker.pkg.github.com/suggestionsbot/suggestions-bot-rewrite/suggestions-bot-rewrite:latest
depends_on:
- suggestions_redis
build:
dockerfile: Dockerfile
context: .
environment:
PROD: 1
CLUSTER: 1
TOKEN: ...
MONGO_URL: ...
UPTIME_PATCH: ...
SUGGESTIONS_API_KEY: ...
SUGGESTIONS_STATS_API_URL: ....
suggestions_bot_cluster_2:
container_name: "suggestions_bot_cluster_2"
environment:
CLUSTER: 2
UPTIME_PATCH: ...
extends:
service: suggestions_bot_cluster_1
suggestions_bot_cluster_3:
container_name: "suggestions_bot_cluster_3"
environment:
CLUSTER: 3
UPTIME_PATCH: ...
extends:
service: suggestions_bot_cluster_1
suggestions_bot_cluster_4:
container_name: "suggestions_bot_cluster_4"
environment:
CLUSTER: 4
UPTIME_PATCH: ...
extends:
service: suggestions_bot_cluster_1
suggestions_bot_cluster_5:
container_name: "suggestions_bot_cluster_5"
environment:
CLUSTER: 5
UPTIME_PATCH: ...
extends:
service: suggestions_bot_cluster_1
suggestions_bot_cluster_6:
container_name: "suggestions_bot_cluster_6"
environment:
CLUSTER: 6
UPTIME_PATCH: ...
extends:
service: suggestions_bot_cluster_1
volumes:
cache:
driver: local