This commit is contained in:
Michal Humpula
2026-02-15 19:28:19 +01:00
parent 5fbd72b370
commit 940a86ff8c
8 changed files with 1459 additions and 13 deletions

View File

@@ -20,6 +20,11 @@ services:
- PRIMARY_GATEWAY=192.168.200.11
- SECONDARY_GATEWAY=192.168.201.11
- PING_TARGET=192.168.202.100
- API_ENABLED=true
- API_BIND_ADDRESS=0.0.0.0
- API_PORT=8080
- API_USERNAME=admin
- API_PASSWORD_HASH=$2b$12$placeholder_hash_replace_with_actual_bcrypt_hash
cap_add:
- NET_ADMIN
- SYS_ADMIN
@@ -33,7 +38,8 @@ services:
command: |
sh -c "
echo nameserver 192.168.10.1 > /etc/resolv.conf &&
/bin/sleep infinity
apt update && apt install -y iproute2 curl net-tools &&
/bin/sleep infinity
"
networks:
primary-net:
@@ -50,6 +56,11 @@ services:
- PRIMARY_GATEWAY=192.168.200.11
- SECONDARY_GATEWAY=192.168.201.11
- PING_TARGET=192.168.202.100
- API_ENABLED=true
- API_BIND_ADDRESS=0.0.0.0
- API_PORT=8080
- API_USERNAME=admin
- API_PASSWORD_HASH=$2b$12$placeholder_hash_replace_with_actual_bcrypt_hash
cap_add:
- NET_ADMIN
- SYS_ADMIN