-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (67 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
74 lines (67 loc) · 1.41 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3.9"
services:
mosquitto:
build: ./mosquitto
container_name: mosquitto
restart: always
networks:
- stream-table-network
ports:
- "1883:1883"
# obs-service: # dev mode
# build: ./obs-service
# container_name: obs-service
# restart: always
# networks:
# - stream-table-network
web-app: # dev mode
build: ./web-app
container_name: web-app
restart: always
ports:
- "3000:3000"
depends_on:
- game-service
volumes:
- ./web-app/public:/app/public
- ./web-app/src:/app/src
networks:
- stream-table-network
postgre:
image: postgres:18.2-bookworm
container_name: postgresql
restart: always
env_file:
- ./postgresql/.env
ports:
- "5432:5432"
volumes:
- ./postgresql/postgres_data:/var/lib/postgresql
networks:
- stream-table-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
game-service:
env_file:
- sample.env
build: ./game-service
container_name: game-service
restart: always
ports:
- "8000:8000"
volumes:
- ./game-service:/app # Used for dev
depends_on:
- mosquitto
- postgre
networks:
- stream-table-network
volumes:
postgres_data:
networks:
stream-table-network:
driver: bridge