From ce6546c6355dfdb9f181b2673af5acead5f82f20 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 12 Sep 2025 13:15:52 +0200 Subject: [PATCH] Docker: Update env variables in compose.yaml files (development only) Signed-off-by: Michael Mayer --- compose.intel.yaml | 3 ++- compose.nvidia.yaml | 3 ++- compose.postgres.yaml | 3 ++- compose.yaml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/compose.intel.yaml b/compose.intel.yaml index 52f364354..221800558 100644 --- a/compose.intel.yaml +++ b/compose.intel.yaml @@ -124,7 +124,8 @@ services: PHOTOPRISM_INIT: "https intel tensorflow" ## External dependencies and tools: TF_CPP_MIN_LOG_LEVEL: 1 - CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.codex" + GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache" + CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex" ## Share hardware devices with FFmpeg for hardware video transcoding: devices: - "/dev/dri:/dev/dri" diff --git a/compose.nvidia.yaml b/compose.nvidia.yaml index 9484eea32..b94a94471 100644 --- a/compose.nvidia.yaml +++ b/compose.nvidia.yaml @@ -133,7 +133,8 @@ services: PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60) ## External dependencies and tools: TF_CPP_MIN_LOG_LEVEL: 1 - CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.codex" + GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache" + CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex" ## Shared devices for video hardware transcoding (optional): # devices: # - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding diff --git a/compose.postgres.yaml b/compose.postgres.yaml index 4af8e951d..1b69efa8f 100644 --- a/compose.postgres.yaml +++ b/compose.postgres.yaml @@ -70,7 +70,8 @@ services: PHOTOPRISM_INIT: "https" ## External dependencies and tools: TF_CPP_MIN_LOG_LEVEL: 1 - CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.codex" + GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache" + CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex" ## PostgreSQL Database Server ## Docs: https://www.postgresql.org/docs/ postgres: diff --git a/compose.yaml b/compose.yaml index 9915b146b..5a83f93a7 100644 --- a/compose.yaml +++ b/compose.yaml @@ -137,7 +137,8 @@ services: PHOTOPRISM_VISION_KEY: "" # client: service access token (for authentication) ## External dependencies and tools: TF_CPP_MIN_LOG_LEVEL: 1 - CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.codex" + GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache" + CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex" ## Shared devices for video hardware transcoding (optional): # devices: # - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding