Fix Node-RED container net: extra_hosts, CODE HTTPS, force-recreate

Detect host LAN IP and CODE URL so OCS/Collabora work unattended
on each VM. Avoid 127.0.1.1 Nextcloud DNS and HTTP-to-TLS CODE.
This commit is contained in:
root
2026-08-22 19:41:55 +02:00
parent 13bbeba60f
commit d6f795dee0
4 changed files with 172 additions and 24 deletions
+2 -1
View File
@@ -13,8 +13,9 @@ services:
PORT: "1881"
TZ: ${TZ:-Europe/Stockholm}
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-https://cloud.hannesahlin.se}
COLLABORA_URL: ${COLLABORA_URL:-http://172.17.0.2:9980}
COLLABORA_URL: ${COLLABORA_URL:-https://code:9980}
extra_hosts:
- "host.docker.internal:host-gateway"
- "cloud.hannesahlin.se:${NC_HOST_IP:-192.168.1.26}"
volumes:
- nodered_collab_data:/data