-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 914 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 914 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
51
52
53
services:
nginx:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- traffic_worker_1
- power_worker_1
- env_worker_1
traffic_worker_1:
build:
context: .
dockerfile: Dockerfile.traffic
ports:
- "5000:5000"
restart: always
power_worker_1:
build:
context: .
dockerfile: Dockerfile.power
ports:
- "5001:5001"
restart: always
env_worker_1:
build:
context: .
dockerfile: Dockerfile.environ
ports:
- "5002:5002"
restart: always
orchestrator:
build:
context: .
dockerfile: Dockerfile.orchestrator
ports:
- "8000:8000"
env_file:
- .env
restart: always
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
ports:
- "3000:3000"
restart: always