photoprism/.env.example
Michael Mayer 0e14ef111d Develop: Document COMPOSE_PROFILES in .env.example, tighten comments #5590
Compose reads COMPOSE_PROFILES from .env automatically (no --profile flag
needed on every invocation), so adding it to .env.example lets developers
opt into the new "postgres" profile (or any other) once and forget about
it. Drive-by trims "Only starts this service if..." to "Only starts if..."
across compose.yaml, compose.nvidia.yaml, and the three setup/docker
compose files so all gated services use the same shorter phrasing.
2026-05-20 16:30:01 +00:00

35 lines
1.4 KiB
Text

## Build & Test Environment Overrides
##
## Copy this file to ".env" in the same directory as compose.yaml and uncomment
## the variables you want to customize.
# Isolates container names, named volumes, and the auto-prefixed default network
# across parallel checkouts of this repo. To run multiple environments side-by-
# side, set this together with COMPOSE_NETWORK_NAME below.
# COMPOSE_PROJECT_NAME=photoprism
# Bridge-network name. Override together with COMPOSE_PROJECT_NAME to run
# multiple parallel dev environments without colliding on the shared network.
# COMPOSE_NETWORK_NAME=photoprism
# Optional services to start by default. Comma-separated list of profile names
# read by Docker Compose itself (so no --profile flag is required).
# COMPOSE_PROFILES=postgres
# 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.
# TRAEFIK_BIND_HOST=0.0.0.0
# SERVICES_BIND_HOST=127.0.0.1
# Host ports for Traefik's HTTP and HTTPS entrypoints.
# TRAEFIK_HTTP_PORT=80
# TRAEFIK_HTTPS_PORT=443
# Public base URL used in share links, OIDC & PWA URIs.
# PHOTOPRISM_SITE_URL=https://app.localssl.dev/
# Ports to which MariaDB and PostgreSQL should bind. PostgreSQL only starts
# when the "postgres" (or "all") profile is enabled via COMPOSE_PROFILES.
# MARIADB_PORT=4001
# POSTGRES_PORT=4002