Files
nextcloud-collabora-nodered/docker-compose.yml
T
root 7dd92cd30b 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.
2026-08-22 19:41:55 +02:00

35 lines
918 B
YAML

# 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
restart: unless-stopped
ports:
- "1881:1881"
environment:
PORT: "1881"
TZ: ${TZ:-Europe/Stockholm}
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-https://cloud.hannesahlin.se}
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
networks:
- collab_default
- docker_bridge
networks:
collab_default:
driver: bridge
docker_bridge:
external: true
name: bridge
volumes:
nodered_collab_data: