You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.8 KiB
YAML
66 lines
1.8 KiB
YAML
services:
|
|
triangulation-test:
|
|
build: .
|
|
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
|
|
- keycloak
|
|
profiles: ["test"]
|
|
|
|
keycloak:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/keycloak/Dockerfile
|
|
environment:
|
|
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN:-admin}
|
|
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD:-admin}
|
|
TRIANGULATION_ADMIN_USERNAME: ${TRIANGULATION_ADMIN_USERNAME:-admin_ui}
|
|
TRIANGULATION_ADMIN_PASSWORD: ${TRIANGULATION_ADMIN_PASSWORD:-admin123}
|
|
TRIANGULATION_VIEWER_USERNAME: ${TRIANGULATION_VIEWER_USERNAME:-viewer}
|
|
TRIANGULATION_VIEWER_PASSWORD: ${TRIANGULATION_VIEWER_PASSWORD:-viewer123}
|
|
ports:
|
|
- "127.0.0.1:38083:8080"
|
|
profiles: ["test"]
|
|
|
|
receiver-r0:
|
|
build: .
|
|
command: ["python", "docker/mock_receiver.py", "--receiver-id", "r0", "--port", "9000", "--base-rssi", "-61.0"]
|
|
expose:
|
|
- "9000"
|
|
profiles: ["test"]
|
|
|
|
receiver-r1:
|
|
build: .
|
|
command: ["python", "docker/mock_receiver.py", "--receiver-id", "r1", "--port", "9000", "--base-rssi", "-64.0"]
|
|
expose:
|
|
- "9000"
|
|
profiles: ["test"]
|
|
|
|
receiver-r2:
|
|
build: .
|
|
command: ["python", "docker/mock_receiver.py", "--receiver-id", "r2", "--port", "9000", "--base-rssi", "-63.0"]
|
|
expose:
|
|
- "9000"
|
|
profiles: ["test"]
|
|
|
|
output-sink:
|
|
build: .
|
|
command: ["python", "docker/mock_output_sink.py", "--port", "8080"]
|
|
expose:
|
|
- "8080"
|
|
profiles: ["test"]
|
|
|
|
triangulation-prod:
|
|
build: .
|
|
command: ["python", "service.py", "--config", "/app/config.json"]
|
|
ports:
|
|
- "127.0.0.1:38082:8081"
|
|
volumes:
|
|
- ./config.json:/app/config.json:ro
|
|
profiles: ["prod"]
|