From 87320e43e15615366032515a94b2f892e5a8b460 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Fri, 10 Jul 2026 22:10:43 +0100 Subject: [PATCH] fix: auto-assign subnet, no static IPs (avoids conflicts) --- compose/stack.yaml | 9 +++------ deploy.sh | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/compose/stack.yaml b/compose/stack.yaml index 519dff5..33adc6e 100644 --- a/compose/stack.yaml +++ b/compose/stack.yaml @@ -17,8 +17,7 @@ services: timeout: 10s retries: 3 networks: - nextwks-net: - ipv4_address: 10.200.0.10 + - nextwks-net authelia: image: git24hcom/authelia:latest @@ -36,8 +35,7 @@ services: timeout: 10s retries: 3 networks: - nextwks-net: - ipv4_address: 10.200.0.11 + - nextwks-net launcher: image: alpine:latest @@ -58,8 +56,7 @@ services: timeout: 10s retries: 3 networks: - nextwks-net: - ipv4_address: 10.200.0.12 + - nextwks-net networks: nextwks-net: diff --git a/deploy.sh b/deploy.sh index fe34a27..8c7d305 100755 --- a/deploy.sh +++ b/deploy.sh @@ -98,7 +98,7 @@ if [ "$GREENFIELD" = true ]; then # Podman network + deploy stack echo "[5/5] Deploying containers on $NETWORK_NAME..." - podman network create --subnet 10.200.0.0/24 "$NETWORK_NAME" 2>&1 || true + podman network create "$NETWORK_NAME" 2>&1 || true podman-compose -f "$TARGET_DIR/compose/stack.yaml" down 2>/dev/null || true podman-compose -f "$TARGET_DIR/compose/stack.yaml" up -d 2>&1 || echo "[WARN] Stack deploy had issues"