Closed cwlls closed 3 years ago
I'm not sure why it would intermittently work, but I have discovered the error was my own. When using multiple networks as show above it is important to create a label (traefik.docker.network in this case) on the Traefik exposed container to specify which network should be used by Traefik:
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_network"
- "traefik.http.routers.photoprism.rule=Host(`photo.ca.home`)"
- "traefik.http.routers.photoprism.entrypoints=http"
Thanks, Chris
Greetings,
I'm just getting started with Photoprism (I love what I see so far, thank you!) and I appear to be having a problem with the app not responding when I specify a bind mount to a location within
/photoprism/import
. For clarification, I am running Photoprism using Docker (see attached docker-compose.yml file) and I have Traefik running a reverse proxy.If I include the following line, Photoprism does not respond and I get a 'Gateway timeout' error in my browser from Traefik.
If I do the following, everything works as expected (as far as I can tell at least):
docker-compose down
docker-compose up
Thanks in advance, Chris
Involved systems
Server: Intel(R) Xeon(R) CPU E3-1220L, 16GB RAM Ubuntu 20.04.1 (kernel 5.4.0-54-generic) Docker version 19.03.13, build 4484c46d9d
Client: MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports), 16GB RAM macOS Catalina Version 10.15.6 (19G2021) Safari Version 14.0 (15610.1.28.1.9, 15610)
docker-compose.yml