-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 980 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (46 loc) · 980 Bytes
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
version: '3.8'
services:
api-service:
build:
context: ./services/api-service
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./log:/app/log
- ./config:/app/config
- ./common:/app/common
- ./config.py:/app/config.py
environment:
- PYTHONPATH=/app
depends_on:
- data-service
restart: unless-stopped
data-service:
build:
context: ./services/data-service
dockerfile: Dockerfile
ports:
- "8001:8001"
volumes:
- ./data:/app/data
- ./log:/app/log
- ./config:/app/config
- ./common:/app/common
- ./config.py:/app/config.py
environment:
- PYTHONPATH=/app
restart: unless-stopped
client:
build:
context: ./client
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- api-service
restart: unless-stopped
networks:
default:
name: northwind-network