-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 1.17 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
version: "2"
services:
nginx:
image: nginx:1.13.7
restart: always
links:
- frontend:frontend
- backend:backend
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./pymindmap/frontend/dist:/usr/share/nginx/html
ports:
- 5001:80
frontend:
build:
context: ./pymindmap/frontend
dockerfile: Dockerfile
restart: always
volumes:
- ./pymindmap/frontend:/home/code
- /home/code/node_modules
command: npm run watch
# ports:
# - 5555:3000
backend:
build:
context: pymindmap
dockerfile: Dockerfile
restart: always
volumes:
- ./pymindmap:/home/code/pymindmap
# - .:/home/code
# - ./docs:/home/code/docs
- ./README.md:/home/code/README.md
- ./setup.py:/home/code/setup.py
- ./resources:/home/code/resources
- ./MANIFEST.in:/home/code/MANIFEST.in
- ./setup.cfg:/home/code/setup.cfg
# command: python -m pymindmap --mindmappath=pymindmap/resources/minders --port=5555 --picturepath=pymindmap/resources/pictures
# command: python -m pymindmap
command: top
ports:
- 5555:5555