Fix public/private issues with a bad workaround for photoprism.

This commit is contained in:
whitney 2023-05-10 10:52:27 -07:00
parent cc98907560
commit 6e43336b6d
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1,2 @@
docker-compose.yml
docker-compose-public.yml
docker-compose-private.yml

View File

@ -10,3 +10,11 @@ Change the default admin credentials/site/etc.
Note that PHOTOPRISM_SITE_URL has the https prefix while the traefik label does not.
Start with `docker-compose up -d`.
### Public and Private Instances
So you have to pay if you want user management, so a workaround is to host a public and private version of photoprism. Unfortunately that doesn't work too well with Traefik, so the workaround is to have 2 configs that use the same uri but we run one or the other based on what we want/when we need to upload.
So copy the blanked yml to docker-compose-public.yml and docker-compose-private.yml.
Run them with `docker-compose -f docker-compose-public.yml up -d`