-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose local.yml
More file actions
50 lines (45 loc) · 1 KB
/
compose local.yml
File metadata and controls
50 lines (45 loc) · 1 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
name: imsproject
networks:
ims-network:
name: ims-network
driver: bridge
services:
ims-game-server:
build:
context: game_server
dockerfile: Dockerfile
container_name: ims-game-server
networks:
- ims-network
ports:
- "8080:8080"
- "8641:8641/udp"
volumes:
- ./docker_data/game_server:/app/data
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: db_credentials.env
ims-manager:
build:
context: manager
dockerfile: Dockerfile
container_name: ims-manager
networks:
- ims-network
ports:
- "5000:5000"
volumes:
- ./docker_data/manager:/app/data
ims-db:
image: postgres:17.6
container_name: ims-db
environment:
POSTGRES_DB: ims-db
ports:
- "5432:5432"
networks:
- ims-network
volumes:
- ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
- ./database/data:/var/lib/postgresql/data
env_file: db_credentials.env