-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
47 lines (39 loc) · 1.08 KB
/
docker-compose.yaml
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
version: '3.4'
x-common-variables: &common-variables
HSELING_RPC_ENDPOINT: http://hse-api-web:80/rpc/
HSELING_API_ENDPOINT: http://hse-api-web:80/api/
RESTRICTED_MODE: 0
services:
hse-api-web:
build:
context: .
dockerfile: hseling-api-e-shvarts/Dockerfile
ports:
- "5000:80"
volumes:
- type: bind
source: ./hseling-api-e-shvarts/hseling_api_e_shvarts
target: /app/hseling_api_e_shvarts
- type: bind
source: ./hseling-data-e-shvarts/api
target: /data
environment: *common-variables
hse-web-web:
build:
context: .
dockerfile: hseling-web-e-shvarts/Dockerfile
ports:
- "8000:80"
depends_on:
- hse-api-web
environment: *common-variables
volumes:
- type: bind
source: ./hseling-web-e-shvarts/hseling_web_e_shvarts
target: /app/hseling_web_e_shvarts
- type: bind
source: ./hseling-web-e-shvarts/hseling_web_e_shvarts/static
target: /app/static
- type: bind
source: ./hseling-data-e-shvarts/web
target: /data