Develop: Make compose working_dir and paths configurable via WORKING_DIR

This commit is contained in:
Michael Mayer 2026-05-22 09:03:34 +00:00
parent 8ee2d47673
commit 7b0d64bef9
6 changed files with 51 additions and 40 deletions

View file

@ -16,6 +16,12 @@
# read by Docker Compose itself (so no --profile flag is required).
# COMPOSE_PROFILES=postgres
# In-container working directory and bind mount target for the repo checkout.
# Override when the host clone lives outside the default GOPATH layout; the
# value is reused for working_dir, the source bind mount, and every PhotoPrism
# path env var so they stay in sync.
# WORKING_DIR=/go/src/github.com/photoprism/photoprism
# Network interfaces to which Traefik and other services bind on the host.
# Defaults expose Traefik on every interface (so *.localssl.dev is reachable
# from the LAN) and keep direct service ports on loopback only.