Initial commit

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-31 13:36:22 +01:00
commit 931652c494
78 changed files with 46976 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
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