-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-develop.yml
84 lines (78 loc) · 1.98 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "2.2"
services:
nginx:
image: ${COMPOSE_PROJECT_NAME}-nginx
build:
context: docker/nginx
init: true
network_mode: "host"
volumes:
- ./docker/nginx/nginx.conf:/nginx.conf
- ./docker/nginx/nginx_mime.types:/nginx_mime.types
- ./examples/certificates:/certificates
- ./aiowstunnel/healthcheck_frontend/build:/www-root
working_dir: /examples
command: ["nginx", "-c", "/nginx.conf"]
server:
image: ${COMPOSE_PROJECT_NAME}-python
build:
context: docker/python
init: true
network_mode: "host"
stop_signal: SIGINT
volumes:
- ./aiowstunnel:/pypackages/aiowstunnel
- ./examples:/examples
working_dir: /examples
command: ["python", "server.py"]
environment:
PYTHONPATH: /pypackages
client:
image: ${COMPOSE_PROJECT_NAME}-python
build:
context: docker/python
init: true
network_mode: "host"
stop_signal: SIGINT
volumes:
- ./aiowstunnel:/pypackages/aiowstunnel
- ./examples:/examples
working_dir: /examples
command: ["python", "client.py"]
environment:
PYTHONPATH: /pypackages
appserver:
image: ${COMPOSE_PROJECT_NAME}-python
build:
context: docker/python
init: true
network_mode: "host"
stop_signal: SIGINT
volumes:
- ./aiowstunnel:/pypackages/aiowstunnel
- ./examples:/examples
working_dir: /examples
command: ["python", "appserver.py"]
environment:
PYTHONPATH: /pypackages
pypi:
image: ${COMPOSE_PROJECT_NAME}-python-pypi
build:
context: docker/python
dockerfile: Dockerfile-pypi
init: true
network_mode: "host"
stop_signal: SIGINT
volumes:
- ./examples:/examples
working_dir: /examples
react:
image: ${COMPOSE_PROJECT_NAME}-react
build:
context: docker/react
init: true
network_mode: "host"
volumes:
- ./aiowstunnel/healthcheck_frontend:/frontend
user: 1000:1000
working_dir: /frontend