Comment on Cloudflare is not working for me the way I hoped it would.
saint@group.lt 11 months ago
first you should check logs of cloudflare tunnel - most likely it cannot access your docker network. if you are using cloudflare container - it should use same network as a Immich instance.
in short: find the tunnel log and see what is happening there.
jrubal1462@mander.xyz 11 months ago
The logs just say
2023-12-16T03:32:18Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 192.168.1.111:2283…
Assuming it is the problem of Docker containers not being able to talk to each other, I added the option
–network=“bridge”
to the docker command that launches the cloudflare tunnel. Then in the docker-compose file for Immich, I added the linenetwork_mode: bridge
to each service. No dice. I think next I’ll try installing the cloudflare tunnel as a service directly on that computer.Thanks for taking the time to help out, I appreciate it.
jrubal1462@mander.xyz 11 months ago
Hey! Running the cloudflare tunnel through systemd right on the machine worked wonders! Thanks! Probably not the most secure way, but at least I know I can play with networks at a later date. For now it appears to be up and running. Thanks a bunch!