TestBed-Project/docker-compose.yaml

52 lines
903 B
YAML
Raw Normal View History

name: "IoT-Gatherer-Project"
services:
root-ca:
image: "swift:latest"
volumes:
- .:/workspace
2024-11-20 17:31:26 +01:00
hostname: root-ca.internal
networks:
iot-network:
command: sleep infinity
iot-simulator:
image: "swift:latest"
volumes:
- .:/workspace
hostname: iot-simulator.internal
networks:
iot-network:
command: sleep infinity
leader-service:
image: denoland/deno
volumes:
- .:/workspace
hostname: leader-service.internal
networks:
iot-network:
command: sleep infinity
nginx-mediator:
image: "nginx:latest"
volumes:
- .:/workspace
- ./nginx/proxy.conf:/etc/nginx/nginx.conf
hostname: nginx-mediator.internal
networks:
iot-network:
command: sleep infinity
networks:
iot-network:
ipam:
config:
- subnet: 10.0.0.0/8
ip_range: 10.0.0.0/16