# Run this on the machine where Nextcloud and your Pangolin "newt" site connector run. # Then create a Pangolin Raw TCP resource that targets this container on port 8443 (README.md). services: caldav-bridge: image: nginx:1.27-alpine container_name: caldav-bridge restart: unless-stopped volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro - ./certs:/etc/nginx/certs:ro # newt in Docker: put newt on this same network and use target "caldav-bridge:8443"; no # published port needed. newt installed on the host instead: uncomment and use 127.0.0.1:8443. # ports: # - "127.0.0.1:8443:8443" networks: - nextcloud networks: nextcloud: # EDIT: the network your Nextcloud container is on (docker network ls), so that the # "nextcloud:80" upstream in nginx.conf resolves. external: true name: nextcloud_default