Commit graph

83 commits

Author SHA1 Message Date
Michael Mayer
5682b3df2e Docker: Allow Ollama and Vision env overrides via .env #5726
Make PHOTOPRISM_VISION_URI/KEY and OLLAMA_BASE_URL/OLLAMA_API_KEY
configurable through .env so Ollama Cloud can be tested without
editing compose.yaml directly.
2026-07-16 10:21:54 +00:00
Cathie Integra
021bdeb428 Setup: Default to MariaDB 12.3 (LTS) in compose examples #5705 2026-06-28 15:15:27 +02:00
Michael Mayer
ba82cefb83 Setup: Add PHOTOPRISM_OIDC_PROMPT to compose & Helm examples #5698
Lists the new OIDC authorization prompt option alongside the other
PHOTOPRISM_OIDC_ settings (in flag order) in the dev compose files and the
Plus Helm chart values/questions. Empty default preserves current behavior.
2026-06-27 12:39:25 +00:00
Michael Mayer
a7ee3c2e19 Config: Add PHOTOPRISM_SITE_NAME to compose examples and Helm charts
Also align the SITE_* inline doc comments with the CLI flag help.
2026-06-10 14:28:50 +00:00
Michael Mayer
269ea465be Develop: Update traefik service config in compose.yaml
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-26 01:41:06 +02:00
Cathie Integra
771bc3688c Docker: Tune Ollama defaults: flash-attention on, telemetry opt-outs 2026-05-23 09:41:12 +02:00
Michael Mayer
0544f71c12 Develop: Honor WORKING_DIR in Dockerfile WORKDIR via compose build arg 2026-05-22 22:26:24 +00:00
Michael Mayer
7b0d64bef9 Develop: Make compose working_dir and paths configurable via WORKING_DIR 2026-05-22 09:03:34 +00:00
Michael Mayer
ceb3086be1 Develop: Increase stop_grace_period to 15s for MariaDB & PostgreSQL
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-21 13:31:27 +02:00
Michael Mayer
822cbf325a FFmpeg: Add h264_vulkan video transcoding support #5592 2026-05-21 09:44:41 +00:00
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
Michael Mayer
69e27ba461 Develop: Gate postgres on a compose profile, normalize comments #5590
The default development stack runs on MariaDB (PHOTOPRISM_DATABASE_DRIVER
is "mysql", and the photoprism service depends_on only "mariadb"), so the
postgres container should not start on a plain "docker compose up". Add
profiles: [ "all", "postgres" ] so users opt in via --profile postgres,
align every gated service to the same image / comment / profiles /
stop_grace_period shape, add the missing per-block "docker compose
--profile X up -d" examples, fix pre-existing "::" typos, and correct
"qsql" to "psql" in the photoprism service environment comments across
compose.yaml, compose.intel.yaml, and compose.nvidia.yaml.
2026-05-20 16:20:11 +00:00
Michael Mayer
d35a45eb4c Develop: Change default POSTGRES_PORT from 5432 to 4002 #5590
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-20 12:59:26 +02:00
Michael Mayer
f7085cfb1d Develop: Honor MARIADB_PORT and POSTGRES_PORT overrides #5590 2026-05-20 09:44:12 +00:00
Michael Mayer
5462828516 Develop: Predictable host ports, split TRAEFIK_/SERVICES_ bind hosts #5590 2026-05-19 13:31:28 +00:00
Michael Mayer
74569ba846 Develop: Make compose.yaml configurable via CUSTOM_* env vars #5590
Adds env-var interpolation for the bind host, host ports (HTTP/HTTPS,
MariaDB, PostgreSQL, LDAP), bridge-network name, and PHOTOPRISM_SITE_URL
so developers can spin up parallel dev environments via .env overrides.
Templates the traefik.docker.network labels on every Traefik-routed
service to follow the network rename, fixes the photoprism-vision and
dummy-ldap router/service name collisions, and documents the available
knobs in a new .env.example template (whitelisted in .gitignore).

Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-19 00:04:49 +00:00
Michael Mayer
5a9e4b6031 Config: Default to "zstd,gzip" in sample compose files #5550
Flips the operator-facing default across all sample compose files,
the Linux package defaults, and the Portainer stack env so QA
exercises zstd end-to-end before the next release. The armv7
samples keep their "none" value to spare the CPU on small devices;
only the comment was broadened.
2026-05-03 10:10:48 +00:00
Michael Mayer
1e9e3f2552 OIDC: Upgrade photoprism/dummy-oidc image from :251210 to :260427 #5545
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-27 11:35:54 +02:00
Michael Mayer
5bda752118 Build: Add shared .telemetry file to opt out of CLI telemetry
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-24 16:42:21 +02:00
Michael Mayer
da224d309e MCP: Add "DisableMCP" option to disable /api/v1/mcp #5024 #5536
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-18 11:08:58 +02:00
Michael Mayer
812faccae6 Clean-up: Drop imaging and pigo library integrations #5353 #5508 #668
Also drops github.com/esimov/pigo since it requires the imaging lib.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-01 13:47:42 +02:00
Michael Mayer
ed65deb83a Develop: Add config dir defaults to base images and compose.yaml
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-01 12:56:53 +01:00
Michael Mayer
d86812c0cb Makefile: Add gh install target and explicit issue-editing rule
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-28 16:30:18 +01:00
Michael Mayer
d5ecab8827 Proxy: Define /i/ as DefaultPathPrefix for shared-domain deployments
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-24 01:15:23 +01:00
Michael Mayer
49b8948341 Develop: Add "postgres:18-alpine" database service to compose.yaml #4831
Removes compose.postgres.yaml because it isn't needed anymore.

Related Issue:
- #47

Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-13 23:31:59 +01:00
Michael Mayer
c6c16c5355 OIDC: Update Keycloak client settings in scripts/sql/mariadb-init.sql
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-10 12:34:42 +01:00
Michael Mayer
e50dafe3e1 Setup: Add OLLAMA_API_KEY and OLLAMA_BASE_URL to Compose files #5361
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-12-10 11:26:40 +01:00
Michael Mayer
d5c56d4e7e Dev: Update dummy oidc and webdav images in compose.yaml files #5381
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-12-10 09:21:42 +01:00
Michael Mayer
3e66d9b4bd CI: Update the "dummy-webdav" and "dummy-oidc" images to 251124
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-24 10:34:15 +01:00
Michael Mayer
e8a97b0438 OIDC: Only start Keycloak with the "all", "auth", or "keycloak" profiles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-13 09:24:23 +01:00
Michael Mayer
b829090e15 Develop: Increase stop_grace_period in compose.yaml service configs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 12:44:28 +02:00
Michael Mayer
f99466293a Develop: Add stop_grace_period to compose.yaml service configs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-18 12:42:01 +02:00
Michael Mayer
cd81094d25 Setup: Add "open-webui" service to compose.yaml config examples
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 16:13:17 +02:00
Michael Mayer
64da1d36ed AI: Fix "photoprism-vision" service in compose.yaml (development only)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 15:29:52 +02:00
Michael Mayer
e45a23f9a4 AI: Add "open-webui" service to compose.yaml (development only)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 15:28:59 +02:00
Michael Mayer
ce6546c635 Docker: Update env variables in compose.yaml files (development only)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 13:15:52 +02:00
Michael Mayer
3f519b7a87 Docker: Update compose.yaml files for development environment
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-12 11:17:41 +02:00
Michael Mayer
a88580af7c AI: Update compose.yaml config examples #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-02 11:06:11 +02:00
Michael Mayer
a0b44b2ca2 Setup: Update Ollama service examples in compose.yaml files #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 16:03:27 +02:00
Michael Mayer
19fff8b0bf Setup: Update Ollama service examples in compose.yaml files #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 13:07:22 +02:00
Michael Mayer
7de8ee88d8 Setup: Update Ollama service examples in compose.yaml files #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 12:08:33 +02:00
Michael Mayer
0cb4acbc20 Develop: Add "traefik.docker.network" label to compose.yaml files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-28 09:52:44 +02:00
Michael Mayer
7470924a84 Develop: Add upload config options to compose.yaml files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-26 08:44:37 +02:00
Michael Mayer
3d4e2bde49 Setup: Update compose.yaml examples
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-12 17:33:10 +02:00
Michael Mayer
2b9a3c9924 Setup: Update compose.yaml config examples #5123
Related Documentation:
- https://github.com/photoprism/photoprism-docs/pull/203
- https://docs.photoprism.app/developer-guide/vision/caption-generation/

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-06 20:13:07 +02:00
Michael Mayer
0d24ec5abb Develop: Create default network in custom compose YAML files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-05 11:12:01 +02:00
Michael Mayer
8149d4c63a Setup: Update compose.yaml config examples #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-24 15:46:41 +02:00
Michael Mayer
4c24973a24 Setup: Update compose.yaml examples and add ollama service #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-24 13:07:11 +02:00
Michael Mayer
cedc8799d3 Places: Update compose.yaml config examples #883
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-06 11:24:50 +02:00
Michael Mayer
7759aad68f Videos: Auto-install/update yt-dlp in the dev environment #4982
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-11 10:54:09 +02:00