mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Develop: Add config dir defaults to base images and compose.yaml
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
6a5cb1f20d
commit
ed65deb83a
6 changed files with 13 additions and 3 deletions
|
|
@ -122,10 +122,13 @@ services:
|
|||
# PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
||||
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
||||
PHOTOPRISM_INIT: "https intel tensorflow"
|
||||
## External dependencies and tools:
|
||||
## Additional dependencies and tools:
|
||||
TF_CPP_MIN_LOG_LEVEL: 1
|
||||
GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache"
|
||||
CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex"
|
||||
CLAUDE_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/claude"
|
||||
GH_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/gh"
|
||||
GH_REPO: "photoprism/photoprism"
|
||||
## Share hardware devices with FFmpeg for hardware video transcoding:
|
||||
devices:
|
||||
- "/dev/dri:/dev/dri"
|
||||
|
|
|
|||
|
|
@ -131,10 +131,13 @@ services:
|
|||
PHOTOPRISM_FFMPEG_ENCODER: "nvidia" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
||||
PHOTOPRISM_FFMPEG_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||
PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
||||
## External dependencies and tools:
|
||||
## Additional dependencies and tools:
|
||||
TF_CPP_MIN_LOG_LEVEL: 1
|
||||
GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache"
|
||||
CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex"
|
||||
CLAUDE_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/claude"
|
||||
GH_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/gh"
|
||||
GH_REPO: "photoprism/photoprism"
|
||||
## Shared devices for video hardware transcoding (optional):
|
||||
# devices:
|
||||
# - "/dev/dri:/dev/dri" # Required Intel QSV or VAAPI hardware transcoding
|
||||
|
|
|
|||
|
|
@ -139,10 +139,11 @@ services:
|
|||
PHOTOPRISM_VISION_KEY: "" # client: service access token (for authentication)
|
||||
OLLAMA_BASE_URL: "http://ollama:11434" # use "https://ollama.com" for Ollama Cloud
|
||||
OLLAMA_API_KEY: "" # API key required to access Ollama (optional)
|
||||
## External dependencies and tools:
|
||||
## Additional dependencies and tools:
|
||||
TF_CPP_MIN_LOG_LEVEL: 1
|
||||
GOCACHE: "/go/src/github.com/photoprism/photoprism/.local/gocache"
|
||||
CODEX_HOME: "/go/src/github.com/photoprism/photoprism/.local/codex"
|
||||
CLAUDE_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/claude"
|
||||
GH_CONFIG_DIR: "/go/src/github.com/photoprism/photoprism/.local/gh"
|
||||
GH_REPO: "photoprism/photoprism"
|
||||
## Shared devices for video hardware transcoding (optional):
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
|
|||
S6_VERBOSITY=0 \
|
||||
S6_LOGGING=0 \
|
||||
CODEX_HOME="/go/src/github.com/photoprism/photoprism/.local/codex" \
|
||||
CLAUDE_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/claude" \
|
||||
GH_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/gh" \
|
||||
GH_REPO="photoprism/photoprism"
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
|
|||
S6_VERBOSITY=0 \
|
||||
S6_LOGGING=0 \
|
||||
CODEX_HOME="/go/src/github.com/photoprism/photoprism/.local/codex" \
|
||||
CLAUDE_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/claude" \
|
||||
GH_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/gh" \
|
||||
GH_REPO="photoprism/photoprism"
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
|
|||
S6_VERBOSITY=0 \
|
||||
S6_LOGGING=0 \
|
||||
CODEX_HOME="/go/src/github.com/photoprism/photoprism/.local/codex" \
|
||||
CLAUDE_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/claude" \
|
||||
GH_CONFIG_DIR="/go/src/github.com/photoprism/photoprism/.local/gh" \
|
||||
GH_REPO="photoprism/photoprism"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue