-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (49 loc) · 928 Bytes
/
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
services:
proxy_server:
build:
context: ./src/ProxyServer
env_file:
- ./.env.dev
ports:
- "8765:5000"
depends_on:
- player_api
- stats_api
- discord_bot
environment:
PLAYER_API_URL: http://player_api:5001
STATS_API_URL: http://stats_api:5002
DISCORD_BOT_URL: http://discord_bot:5003
expose:
- 5000
- 5004
player_api:
build:
context: ./src/PlayerAPI
env_file:
- ./.env.dev
expose:
- 5001
stats_api:
build:
context: ./src/StatsAPI
env_file:
- ./.env.dev
volumes:
- stats_db:/db
expose:
- 5002
discord_bot:
build:
context: ./src/DiscordBot
env_file:
- ./.env.dev
volumes:
- discord_bot_config:/db
expose:
- 5003
environment:
PROXY_SERVER_API_URL: proxy_server:5004
volumes:
stats_db:
discord_bot_config: