mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 12:51:31 +08:00
Docker: Update env variables in compose.yaml files (development only)
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -124,7 +124,8 @@ services:
|
|||||||
PHOTOPRISM_INIT: "https intel tensorflow"
|
PHOTOPRISM_INIT: "https intel tensorflow"
|
||||||
## External dependencies and tools:
|
## External dependencies and tools:
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1
|
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:
|
## Share hardware devices with FFmpeg for hardware video transcoding:
|
||||||
devices:
|
devices:
|
||||||
- "/dev/dri:/dev/dri"
|
- "/dev/dri:/dev/dri"
|
||||||
|
@@ -133,7 +133,8 @@ services:
|
|||||||
PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
||||||
## External dependencies and tools:
|
## External dependencies and tools:
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1
|
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):
|
## Shared devices for video hardware transcoding (optional):
|
||||||
# devices:
|
# devices:
|
||||||
# - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding
|
# - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding
|
||||||
|
@@ -70,7 +70,8 @@ services:
|
|||||||
PHOTOPRISM_INIT: "https"
|
PHOTOPRISM_INIT: "https"
|
||||||
## External dependencies and tools:
|
## External dependencies and tools:
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1
|
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
|
## PostgreSQL Database Server
|
||||||
## Docs: https://www.postgresql.org/docs/
|
## Docs: https://www.postgresql.org/docs/
|
||||||
postgres:
|
postgres:
|
||||||
|
@@ -137,7 +137,8 @@ services:
|
|||||||
PHOTOPRISM_VISION_KEY: "" # client: service access token (for authentication)
|
PHOTOPRISM_VISION_KEY: "" # client: service access token (for authentication)
|
||||||
## External dependencies and tools:
|
## External dependencies and tools:
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1
|
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):
|
## Shared devices for video hardware transcoding (optional):
|
||||||
# devices:
|
# devices:
|
||||||
# - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding
|
# - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding
|
||||||
|
Reference in New Issue
Block a user