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:
+2
-1
@@ -13,8 +13,9 @@ services:
|
||||
PORT: "1881"
|
||||
TZ: ${TZ:-Europe/Stockholm}
|
||||
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-https://cloud.domain.name}
|
||||
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.domain.name:${NC_HOST_IP:-192.168.1.10}"
|
||||
volumes:
|
||||
- nodered_collab_data:/data
|
||||
|
||||
Reference in New Issue
Block a user