1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/etc/labs/lab18_rest_api/docker-compose.yml

28 lines
668 B
YAML
Raw Normal View History

version: '3.1'
services:
node1:
container_name: villas_1
# The following image is build from the VILLASnode Github repository, branch rest-api-lab, see:
image: node:config-mvp
ports:
- "8080:8080/tcp"
- "4445:4445/udp"
volumes:
- ./lab18_rest_api_ri1.conf:/etc/node/lab18_rest_api_ri1.conf
command:
- node
- /etc/node/lab18_rest_api_ri1.conf
# node2:
# container_name: villas_2
# image: node:config-mvp
# ports:
# - "8080:8080/tcp"
# - "4446:4446/udp"
# volumes:
# - ./node_ri2.conf:/etc/node/node_ri2.conf
# command:
# - node
# - /etc/node/node_ri2.conf