40 lines
899 B
YAML
40 lines
899 B
YAML
version: "3.9"
|
|
name: uulm_network_monitoring
|
|
services:
|
|
videoprobe:
|
|
image: 192.168.100.2:5000/uulm/passive_network_monitoring:latest
|
|
container_name: netmon_receiver_videoprobe
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1.0"
|
|
memory: 512M
|
|
healthcheck:
|
|
test: curl http://localhost:8000
|
|
interval: 10s
|
|
environment:
|
|
- RUST_LOG=info
|
|
- ROCKET_CONFIG=/etc/videoprobe/Rocket.toml
|
|
- GNSS_DEV=/dev/ttyACM0
|
|
- GNSS_ENABLED=true # default
|
|
depends_on:
|
|
- web
|
|
ports:
|
|
- 8000:8000
|
|
devices:
|
|
- /dev/ttyACM0:/dev/ttyACM0
|
|
|
|
web:
|
|
image: 192.168.100.2:5000/uulm/nginx:latest
|
|
container_name: netmon_sender_web
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1.0"
|
|
memory: 512M
|
|
healthcheck:
|
|
test: curl http://localhost:1935
|
|
interval: 10s
|
|
ports:
|
|
- 1935:1935
|