forked from gtfierro/simulated-digital-twin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
61 lines (57 loc) · 1.5 KB
/
docker-compose.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
version: "3.8"
services:
#sdt:
# build: .
# volumes:
# - .:/mnt/shared/simulated-digital-twin/
# - /tmp/.X11-unix:/tmp/.X11-unix
# network_mode: "host"
# image: sdt
# working_dir: /mnt/shared/simulated-digital-twin
# environment:
# - DISPLAY=${DISPLAY}
# stdin_open: true
# tty: true
boptest:
image: boptest_base
build:
context: ./project1-boptest
volumes:
- ./project1-boptest/testcases/${TESTCASE}/models/wrapped.fmu:${APP_PATH}/models/wrapped.fmu
- ./project1-boptest/testcases/${TESTCASE}/doc/:${APP_PATH}/doc/
- ./project1-boptest/restapi.py:${APP_PATH}/restapi.py
- ./project1-boptest/testcase.py:${APP_PATH}/testcase.py
- ./project1-boptest/version.txt:${APP_PATH}/version.txt
- ./project1-boptest/data:${APP_PATH}/data/
- ./project1-boptest/forecast:${APP_PATH}/forecast/
- ./project1-boptest/kpis:${APP_PATH}/kpis/
ports:
- 127.0.0.1:5000:5000
networks:
- boptest-net
bacnet-shim:
build: boptest-bacnet-proxy
ports:
- target: 47808
published: 47808
protocol: udp
mode: host
networks:
boptest-net:
ipv4_address: 10.0.0.7
bacnet-cli:
build: interact
networks:
boptest-net:
ipv4_address: 10.0.0.8
networks:
boptest-net:
name: boptest-net
driver: bridge
ipam:
driver: default
config:
- subnet: "10.0.0.0/24"
gateway: "10.0.0.1"
attachable: true
# external: true