-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
133 lines (131 loc) · 3.04 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
services:
rabbitmq:
networks:
- world_network
image: rabbitmq:management
# volumes:
# - "./data:/var/lib/rabbitmq/mnesia/"
# environment:
# - RABBITMQ_DEFAULT_USER=itachi
# - RABBITMQ_DEFAULT_PASS=j#AP0M6J6Z4
ports:
- 5672:5672
- '0.0.0.0:15672:15672'
core:
networks:
- world_network
container_name: core
image: dota2classic/matchmaking:core2
volumes:
- ./configs/core.yaml:/config.yaml
user:
networks:
- world_network
container_name: user
image: dota2classic/matchmaking:user-service
volumes:
- ./configs/user.yaml:/config.yaml
gameserver:
networks:
- world_network
container_name: gameserver
restart: always
image: dota2classic/matchmaking:gameserver
volumes:
- ./configs/gameserver.yaml:/config.yaml
ports:
- '0.0.0.0:5003:5003'
forum:
networks:
- world_network
restart: always
depends_on:
- redis
container_name: forum
image: dota2classic/matchmaking:forum
volumes:
- ./configs/forum.yaml:/config.yaml
ports:
- '0.0.0.0:6009:6009'
redis:
networks:
- world_network
container_name: redis
image: redis:7.4.0-alpine
restart: always
command: [ redis-server, /usr/local/etc/redis/redis.conf ]
ports:
- '0.0.0.0:6379:6379'
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
postgres:
networks:
- world_network
container_name: db
image: postgres:16.4-bookworm
restart: always
environment:
- POSTGRES_PASSWORD=postgres
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- '0.0.0.0:5432:5432'
api:
networks:
- world_network
container_name: api
image: dota2classic/matchmaking:api-gateway
depends_on:
- user
- redis
restart: always
volumes:
- ./configs/api.yaml:/home/bun/app/config.yaml
ports:
- '0.0.0.0:6001:6001'
operator:
container_name: operator
networks:
- srcds_network
- world_network
image: dota2classic/operator
volumes:
- ./configs/operator.yaml:/config.yaml
- //Users/itachi/.orbstack/run/docker.sock:/var/run/docker.sock
- srcds_artifacts_logs:/volume/logs
- srcds_artifacts_replays:/volume/replays
ports:
- '0.0.0.0:7777:7777'
fluentbit:
networks:
- world_network
container_name: fluentbit
image: cr.fluentbit.io/fluent/fluent-bit:2.0
ports:
- 24224:24224
- 24224:24224/udp
volumes:
- ./configs/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
jaeger:
networks:
- world_network
restart: always
image: jaegertracing/all-in-one:latest
mem_limit: "1GB"
ports:
- "16686:16686"
- "4318:4318"
- "4317:4317"
environment:
- LOG_LEVEL=debug
networks:
srcds_network:
driver: bridge
external: true
world_network:
driver: bridge
volumes:
srcds_artifacts_logs:
external: true
srcds_artifacts_replays:
external: true