-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
52 lines (47 loc) · 1.36 KB
/
compose.yml
File metadata and controls
52 lines (47 loc) · 1.36 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
51
52
name: imsproject
networks:
ims-network:
name: ims-network
driver: bridge
services:
ims-game-server:
image: yuvalroth123/imsproject_game_server:latest
container_name: ims-game-server
networks:
- ims-network
ports:
- "8080:8080"
- "8641:8641/udp"
volumes:
- /home/admin/volumes/game_server:/app/data
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: /home/admin/env_files/db_credentials.env
restart: always
ims-manager:
image: yuvalroth123/imsproject_manager:latest
container_name: ims-manager
networks:
- ims-network
ports:
- "5000:5000"
volumes:
- /home/admin/volumes/manager:/app/data
restart: always
ims-db:
image: postgres:17.6
container_name: ims-db
environment:
POSTGRES_DB: ims-db
ports:
- "5432:5432"
networks:
- ims-network
volumes:
- /home/admin/volumes/db/data:/var/lib/postgresql/data
- /home/admin/volumes/db/init.sql:/docker-entrypoint-initdb.d/init.sql
- /home/admin/volumes/db/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
- /home/admin/volumes/db/certs/server.crt:/var/lib/postgresql/server.crt:ro
- /home/admin/volumes/db/certs/server.key:/var/lib/postgresql/server.key:ro
env_file: /home/admin/env_files/db_credentials.env
restart: always