-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
81 lines (80 loc) · 1.79 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
version: "3.9"
services:
mewbot-duelapi:
build: ./duelapi
container_name: mewbot-duelapi
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.11
volumes:
- type: bind
source: ./shared/duel
target: /app/res
mewbot-gateway-queue:
image: twilightrs/gateway-queue:latest
container_name: mewbot-gateway-queue
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.12
environment:
- PORT=5000
mewbot-callbacks:
build: ./callbacks
container_name: mewbot-callbacks
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.17
env_file:
- ./env/bot.env
- ./env/donations.env
- ./env/mongo.env
- ./env/postgres.env
- ./env/voting.env
environment:
- "MONGO_URL=mongodb://localhost:27017"
ports:
- "15211:15211"
mewbot-redis:
image: redis
container_name: mewbot-redis
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.13
mewbot-database:
image: postgres
container_name: mewbot-database
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.14
env_file: ./env/postgres.env
volumes:
- /home/ubuntu/postgres-data:/var/lib/postgresql/data
ports:
- "58558:5432"
logging:
options:
max-size: "10m"
max-file: "3"
mewbot-mongo:
image: mongo
container_name: mewbot-mongo
restart: always
networks:
mewbot_network:
ipv4_address: 178.28.0.15
env_file: ./env/mongo.env
volumes:
- /home/ubuntu/mongo-data:/data/db
ports:
- "61392:27017"
networks:
mewbot_network:
name: mewbot-network
ipam:
config:
- subnet: 178.28.0.0/24