2024-11-19 20:53:55 +01:00
|
|
|
name: "IoT-Gatherer-Project"
|
|
|
|
|
|
|
|
|
|
services:
|
2024-11-20 10:12:49 +01:00
|
|
|
root-ca:
|
|
|
|
|
image: "swift:latest"
|
|
|
|
|
volumes:
|
|
|
|
|
- .:/workspace
|
2024-11-20 17:31:26 +01:00
|
|
|
hostname: root-ca.internal
|
2024-11-20 10:12:49 +01:00
|
|
|
networks:
|
|
|
|
|
iot-network:
|
|
|
|
|
command: sleep infinity
|
|
|
|
|
|
2024-11-19 20:53:55 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|