-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
46 lines (39 loc) · 743 Bytes
/
compose.yaml
File metadata and controls
46 lines (39 loc) · 743 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
services:
tracker:
build: ./src/tracker/.
ports:
- '3000:3000'
environment:
MYSQL_HOST: tracker-db
MYSQL_USER: root
MYSQL_PASSWORD: ''
MYSQL_DB: tracker
networks:
- tracker-network
depends_on:
- tracker-db
tracker-db:
build: ./src/db/.
image: mysql
restart: always
environment:
MYSQL_DATABASE: 'tracker'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- '3306:3306'
expose:
- '3306'
networks:
- tracker-network
dashboard:
build: ./src/dashboard/.
ports:
- '8080:8080'
networks:
- tracker-network
depends_on:
- tracker-db
networks:
tracker-network:
driver: bridge
version: '3.9'