TestBed-Project/docker-compose.yaml

47 lines
820 B
YAML
Raw Normal View History

name: "IoT-Gatherer-Project"
services:
iot-simulator:
image: "swift:latest"
volumes:
- .:/workspace
hostname: iot-simulator.internal
networks:
iot-network:
command: sleep infinity
leader-service:
2024-12-13 16:04:45 +01:00
build:
context: .
dockerfile: .devcontainer/DOCKERFILES/deno.dockerfile
volumes:
- .:/workspace
hostname: leader-service.internal
networks:
iot-network:
command: sleep infinity
2024-12-13 16:04:45 +01:00
publickey-backend:
build:
context: .
dockerfile: .devcontainer/DOCKERFILES/deno.dockerfile
volumes:
- .:/workspace
2024-12-13 16:04:45 +01:00
hostname: public-key-db.internal
networks:
iot-network:
command: sleep infinity
2024-12-13 16:04:45 +01:00
networks:
iot-network:
ipam:
config:
- subnet: 10.0.0.0/8
ip_range: 10.0.0.0/16