1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/etc/labs/lab18_rest_api/docker-compose.yml
pipeacosta aadf1a8be9 Added lab for universal API server and client testing
Signed-off-by: pipeacosta <pipeacosta@gmail.com>
2023-09-26 16:55:10 +00:00

27 lines
668 B
YAML

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