fixed IPs: nextwks-net on 172.18.0.0/24 with static addresses

This commit is contained in:
Claus Lohmar 2026-07-11 10:08:52 +01:00
parent 62b42635b2
commit 14e60151fd
4 changed files with 19 additions and 5 deletions

View file

@ -1,5 +1,15 @@
# Changelog # Changelog
## 0.1.0.0034 — 2026-07-11
### Added
- Fixed subnet `172.18.0.0/24` for `nextwks-net`
- Static IPv4 addresses for all containers (Caddy `.10`, Authelia `.11`, Launcher `.12`)
### Changed
- `compose/stack.yaml`: network config uses `ipv4_address` instead of flat list
- `tools/nextwks.sh`: network creation now uses `--subnet 172.18.0.0/24`
## 0.1.0.0033 — 2026-07-11 ## 0.1.0.0033 — 2026-07-11
### Added ### Added

View file

@ -1 +1 @@
0.1.0.0033 0.1.0.0034

View file

@ -17,7 +17,8 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
networks: networks:
- nextwks-net nextwks-net:
ipv4_address: 172.18.0.10
authelia: authelia:
image: git24hcom/authelia:latest image: git24hcom/authelia:latest
@ -35,7 +36,8 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
networks: networks:
- nextwks-net nextwks-net:
ipv4_address: 172.18.0.11
launcher: launcher:
image: alpine:latest image: alpine:latest
@ -60,7 +62,8 @@ services:
retries: 3 retries: 3
start_period: 5s start_period: 5s
networks: networks:
- nextwks-net nextwks-net:
ipv4_address: 172.18.0.12
networks: networks:
nextwks-net: nextwks-net:

View file

@ -304,7 +304,8 @@ maybe_sudo chown -R "$RUN_USER:" "$BACKUP_DIR" 2>/dev/null || true
# ============================================================ # ============================================================
echo "[*] Deploying containers on $NETWORK_NAME..." echo "[*] Deploying containers on $NETWORK_NAME..."
podman network create "$NETWORK_NAME" 2>/dev/null || true podman network rm "$NETWORK_NAME" 2>/dev/null || true
podman network create --subnet 172.18.0.0/24 "$NETWORK_NAME" 2>/dev/null || true
# AUTHELIA_SECRET is SESSION_SECRET (Authelia session.secret) # AUTHELIA_SECRET is SESSION_SECRET (Authelia session.secret)
AUTHELIA_SECRET="${SESSION_SECRET:-}" AUTHELIA_SECRET="${SESSION_SECRET:-}"