58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
application_name: uulm_network_monitoring
|
|
infrastructure_manager: kubernetes # kubernetes (default) or openstack
|
|
|
|
default_image_registry:
|
|
username: my_username_for_image_repository
|
|
password: "R3p0$1t0rY_P@$$W0rD!"
|
|
|
|
components:
|
|
videoprobe:
|
|
artifacts:
|
|
image: 192.168.100.2:5000/uulm/passive_network_monitoring:latest
|
|
registry: default
|
|
aarch: amd64
|
|
replicas: 1
|
|
compute:
|
|
cpus: 1.0
|
|
ram: 512.0
|
|
storage: 512.0
|
|
location:
|
|
cluster: cluster-1
|
|
node: node-1
|
|
depends_on:
|
|
- component_name: web
|
|
component_port: 1935
|
|
healthcheck:
|
|
http: http://localhost:8000
|
|
interval: 10s
|
|
environment:
|
|
- RUST_LOG=info
|
|
- ROCKET_CONFIG=/etc/videoprobe/Rocket.toml
|
|
- GNSS_DEV=/dev/ttyACM0
|
|
- GNSS_ENABLED=true
|
|
container_interfaces:
|
|
- tcp: 8000
|
|
user_facing: true
|
|
devices:
|
|
- /dev/ttyACM0:/dev/ttyACM0
|
|
|
|
web:
|
|
artifacts:
|
|
image: 192.168.100.2:5000/uulm/nginx:latest
|
|
registry: default
|
|
aarch: amd64
|
|
replicas: 1
|
|
compute:
|
|
cpus: 1.0
|
|
ram: 512.0
|
|
storage: 1024.0
|
|
location:
|
|
cluster: cluster-2
|
|
node: node-1
|
|
healthcheck:
|
|
cmd: curl rtmp://localhost:1935/live/test
|
|
interval: 10s
|
|
container_interfaces:
|
|
- tcp: 1935
|
|
user_facing: true
|