Fix: integrera i befintlig nextcloud-node-red :1880, ingen ny container

This commit is contained in:
Hannes Ahlin
2026-08-22 15:23:33 +02:00
parent a4161555eb
commit edd87a7c85
6 changed files with 300 additions and 281 deletions
+3 -9
View File
@@ -1,7 +1,8 @@
# Sidecar — port 1881. Rör INTE nextcloud-node-red (:1880) eller odds_network.
# CODE (container "code") ligger på Docker bridge: 172.17.0.2:9980
# Sidecar — ENDAST med INSTALL_MODE=sidecar (ej standard)
# Normal installation integrerar i befintlig nextcloud-node-red :1880
services:
nextcloud-collabora-nodered:
profiles: ["sidecar"]
build: .
image: nextcloud-collabora-nodered:latest
container_name: nextcloud-collabora-nodered
@@ -13,7 +14,6 @@ services:
TZ: ${TZ:-Europe/Stockholm}
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-https://cloud.hannesahlin.se}
COLLABORA_URL: ${COLLABORA_URL:-http://172.17.0.2:9980}
NODERED_CREDENTIAL_SECRET: ${NODERED_CREDENTIAL_SECRET:-byt-den-här-hemligheten-vid-produktion}
extra_hosts:
- "cloud.hannesahlin.se:${NC_HOST_IP:-192.168.1.26}"
volumes:
@@ -21,12 +21,6 @@ services:
networks:
- collab_default
- docker_bridge
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:1881 >/dev/null || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
collab_default: