-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose-develop.yml
40 lines (37 loc) · 1.01 KB
/
docker-compose-develop.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
# -----------------------------------------------------------------------------
# DOCKER COMPOSE DEVELOPMENT
# -----------------------------------------------------------------------------
#
# build containers
# sudo docker compose -f docker-compose-develop.yml build --no-cache
# sudo docker compose -f docker-compose-develop.yml build
# serve containers
# sudo docker compose -f docker-compose-develop.yml up --detach
# sudo docker compose -f docker-compose-develop.yml up
# -----------------------------------------------------------------------------
volumes:
vue_dist:
driver: local
node_modules:
driver: local
services:
backend:
restart: always
build: .
volumes:
- .:/code
expose:
- "1444"
ports:
- "1444:1444"
frontend:
restart: always
build:
context: ./sbml4humans
dockerfile: Dockerfile-develop
ports:
- "8083:3456"
volumes:
- ./sbml4humans:/app
- node_modules:/app/node_modules/
- vue_dist:/usr/share/nginx/html