services: triangulation-test: build: . container_name: triangulation-test command: ["python", "service.py", "--config", "docker/config.docker.test.json"] ports: - "127.0.0.1:38081:8081" depends_on: - receiver-r0 - receiver-r1 - receiver-r2 - output-sink profiles: ["test"] receiver-r0: build: . container_name: receiver-r0 command: ["python", "docker/mock_receiver.py", "--receiver-id", "r0", "--port", "9000", "--base-rssi", "-61.0"] expose: - "9000" profiles: ["test"] receiver-r1: build: . container_name: receiver-r1 command: ["python", "docker/mock_receiver.py", "--receiver-id", "r1", "--port", "9000", "--base-rssi", "-64.0"] expose: - "9000" profiles: ["test"] receiver-r2: build: . container_name: receiver-r2 command: ["python", "docker/mock_receiver.py", "--receiver-id", "r2", "--port", "9000", "--base-rssi", "-63.0"] expose: - "9000" profiles: ["test"] output-sink: build: . container_name: output-sink command: ["python", "docker/mock_output_sink.py", "--port", "8080"] expose: - "8080" profiles: ["test"] triangulation-prod: build: . container_name: triangulation-prod command: ["python", "service.py", "--config", "/app/config.json"] ports: - "127.0.0.1:38082:8081" volumes: - ./config.json:/app/config.json:ro profiles: ["prod"]