-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
51 lines (50 loc) · 896 Bytes
/
compose.yaml
File metadata and controls
51 lines (50 loc) · 896 Bytes
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
services:
tabletopper:
build:
context: ./
dockerfile: Dockerfile.http
volumes:
- .:/app
env_file: "./server/.env"
ports:
- "3000:3000"
depends_on:
- mysql
- redis
networks:
- app-network
wss:
build:
context: ./
dockerfile: Dockerfile.wss
ports:
- "8080:8080"
networks:
- app-network
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: "password"
MYSQL_DATABASE: "tabletopper"
MYSQL_USER: "ttadmin"
MYSQL_PASSWORD: "password"
volumes:
- mysql_data:/var/lib/mysql
ports:
- "3306:3306"
networks:
- app-network
redis:
image: redis:7
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- app-network
volumes:
mysql_data:
redis-data:
networks:
app-network:
driver: bridge