-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (49 loc) · 1.14 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
version: "3.4"
services:
nginx:
privileged: true
depends_on:
- frontend
# - frontend_nginx
build: ./nginx
# restart: always
ports:
- "80:80"
# - "8099:8099"
volumes:
- type: bind
source: ../../Study
target: /home/frontend/Study
- type: bind
source: ../../Work
target: /home/frontend/Work
- type: bind
source: ./nginx/default.conf
target: /etc/nginx/conf.d/default.conf
# - type: bind
# source: ./nginx/vue.ui.conf
# target: /etc/nginx/conf.d/vue.ui.conf
networks:
- frontend-network
frontend:
privileged: true
build: ./node
# restart: always
ports:
- "4567:4567"
volumes:
- type: bind
source: ../../Study
target: /home/frontend/Study
- type: bind
source: ../../Work
target: /home/frontend/Work
# - "webdata_work:/home/frontend/Work"
# - "webdata_study:/home/frontend/Study"
networks:
- frontend-network
# volumes:
# webdata_work:
# webdata_study:
networks:
frontend-network: