-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (36 loc) · 935 Bytes
/
docker-compose.yml
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
version: '3'
services:
server:
build:
context: ./server
dockerfile: ./Dockerfile.dev
ports:
- 3000:3000
working_dir: /project
volumes:
- ./server:/project
command: npm start
db:
image: mariadb:10.6
environment:
MARIADB_ROOT_PASSWORD: anderson
MARIADB_DATABASE: missions
volumes:
- mariadata:/var/lib/mysql
- ./conf-dev/missions.sql:/docker-entrypoint-initdb.d/missions.sql
adminer:
image: adminer
ports:
- 8080:8080
client:
build:
context: ./client
dockerfile: ./Dockerfile.dev
ports:
- 4200:4200
working_dir: /project
volumes:
- ./client:/project
command: ng serve --host=0.0.0.0 --disable-host-check --port 4200
volumes:
mariadata: