-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 1.18 KB
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
services:
runtime_manager:
image: sunrise-demo-runtimemanager
build:
dockerfile: runtime_manager/Dockerfile
context: .
environment:
- SUNRISE_RUNTIME_MANAGER_PORT=${RUNTIME_MANAGER_PORT}
ports:
- ${RUNTIME_MANAGER_PORT}:${RUNTIME_MANAGER_PORT}
networks:
- sunrise-network
volumes:
- ${DOCKER_SOCKET}:/var/run/docker.sock
user_interface:
image: sunrise-demo-userinterface
build:
dockerfile: user_interface/Dockerfile
context: .
depends_on:
- runtime_manager
environment:
- STREAMLIT_SERVER_PORT=${USER_INTERFACE_PORT}
- RUNTIME_MANAGER_URL=http://runtime_manager
- RUNTIME_MANAGER_PORT=${RUNTIME_MANAGER_PORT}
- NO_PROXY=${NO_PROXY:-},runtime_manager
- no_proxy=${no_proxy:-},runtime_manager
ports:
- ${USER_INTERFACE_PORT}:${USER_INTERFACE_PORT}
networks:
- sunrise-network
system:
# The system should only be built and not executed, as this is done by the RM itself
image: sunrise-demo-system
build: ./demo_system
command: ["true"]
deploy:
restart_policy:
condition: none
networks:
sunrise-network:
driver: bridge