name: "IoT-Gatherer-Project" services: iot-simulator: image: "swift:latest" volumes: - .:/workspace hostname: iot-simulator.internal networks: iot-network: command: sleep infinity leader-service: env_file: - .environment/.leader.env build: context: . dockerfile: .devcontainer/DOCKERFILES/deno.dockerfile volumes: - .:/workspace hostname: iot-data-backend.internal networks: iot-network: command: sleep infinity publickey-backend: build: context: . dockerfile: .devcontainer/DOCKERFILES/deno.dockerfile volumes: - .:/workspace hostname: public-key-db.internal networks: iot-network: command: sleep infinity postgres-data-backend: image: postgres env_file: - .environment/.postgres.env volumes: - pg-data:/var/lib/postgresql/data hostname: iot-data-db.internal networks: iot-network: pg-admin: image: dpage/pgadmin4 env_file: - .environment/.pgadmin.env networks: iot-network: ports: - 8080:80 volumes: pg-data: networks: iot-network: ipam: config: - subnet: 10.0.0.0/8 ip_range: 10.0.0.0/16