-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 1.08 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
services:
vtn:
image: robogeek/python-openleadr-nodemon:latest
volumes:
- /home/david/Projects/openadr/openleadr-python:/openleadr-python
- ./testvtn.py:/app/app.py
networks:
- adrnet
environment:
- PYTHONPATH=/openleadr-python:/app
- VTN_NAME=vtn001
- PYTHONASYNCIODEBUG=1
- TIMEZONE=America/Los_Angeles
ports:
- 8080:8080
ven:
image: robogeek/python-openleadr-nodemon:latest
networks:
- adrnet
volumes:
- /home/david/Projects/openadr/openleadr-python:/openleadr-python
- ./testven.py:/app/app.py
environment:
- VEN_NAME=ven123
- VTN_URL=http://vtn:8080/OpenADR2/Simple/2.0b
- RESOURCE_NAME=resource
- PYTHONPATH=/openleadr-python:/app
- PYTHONASYNCIODEBUG=1
- TIMEZONE=America/Los_Angeles
depends_on:
- vtn
# nodered:
# image: nodered/node-red
# networks:
# - adrnet
# ports:
# - 1880:1880
# volumes:
# - ./node-red-contrib-oadr-ven:/data
# environment:
# - FLOWS=/data/examples/demoflow.json
networks:
adrnet: