-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (54 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
version: "3.8"
services:
tiles-db:
container_name: tiles-db
image: mysql:latest
command: mysqld --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_USER: 'tilesdev'
MYSQL_PASSWORD: 'tilesdev'
MYSQL_DATABASE: 'tiles'
ports:
- 8765:3306
board-api:
container_name: board-api-tiles
image: adam64/open-tiles_board-api:latest
environment:
DB_HOST: 'tiles-db'
DB_USER: 'tilesdev'
DB_PASS: 'tilesdev'
DB_NAME: 'tiles'
DB_PORT: '3306'
ports:
- 4321:8080
player-api:
container_name: player-api-tiles
image: adam64/open-tiles_player-api:latest
environment:
DB_HOST: 'tiles-db'
DB_USER: 'tilesdev'
DB_PASS: 'tilesdev'
DB_NAME: 'tiles'
DB_PORT: '3306'
ports:
- 5432:8080
game-service:
container_name: game-service-tiles
image: adam64/open-tiles_game-service
environment:
DB_HOST: 'tiles-db'
DB_USER: 'tilesdev'
DB_PASS: 'tilesdev'
DB_NAME: 'tiles'
DB_PORT: '3306'
BOARD_API_URL: 'http://board-api:8080'
COMBAT_API_URL: 'http://combat-api:8080'
PLAYER_API_URL: 'http://player-api:8080'
ports:
- 7654:8080
combat-api:
container_name: combat-api-tiles
image: adam64/open-tiles_combat-api:latest
ports:
- 6543:8080