mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
Setup: Update compose.yaml config examples #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -119,7 +119,7 @@ services:
|
|||||||
PHOTOPRISM_FFMPEG_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
PHOTOPRISM_FFMPEG_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
# PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
# 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):
|
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
||||||
PHOTOPRISM_INIT: "https intel tensorflow yt-dlp"
|
PHOTOPRISM_INIT: "https intel tensorflow"
|
||||||
## 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"
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ services:
|
|||||||
PHOTOPRISM_THUMB_UNCACHED: "true" # enables on-demand thumbnail rendering (high memory and cpu usage)
|
PHOTOPRISM_THUMB_UNCACHED: "true" # enables on-demand thumbnail rendering (high memory and cpu usage)
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1 # show TensorFlow log messages for development
|
TF_CPP_MIN_LOG_LEVEL: 1 # show TensorFlow log messages for development
|
||||||
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
||||||
PHOTOPRISM_INIT: "https tensorflow-gpu yt-dlp"
|
PHOTOPRISM_INIT: "https tensorflow-gpu"
|
||||||
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
||||||
PHOTOPRISM_VISION_API: "true" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
PHOTOPRISM_VISION_API: "true" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
||||||
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ services:
|
|||||||
PHOTOPRISM_JPEG_SIZE: 7680 # size limit for converted image files in pixels (720-30000)
|
PHOTOPRISM_JPEG_SIZE: 7680 # size limit for converted image files in pixels (720-30000)
|
||||||
TF_CPP_MIN_LOG_LEVEL: 1 # show TensorFlow log messages for development
|
TF_CPP_MIN_LOG_LEVEL: 1 # show TensorFlow log messages for development
|
||||||
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
||||||
PHOTOPRISM_INIT: "https yt-dlp"
|
PHOTOPRISM_INIT: "https"
|
||||||
## PostgreSQL Database Server
|
## PostgreSQL Database Server
|
||||||
## Docs: https://www.postgresql.org/docs/
|
## Docs: https://www.postgresql.org/docs/
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ services:
|
|||||||
PHOTOPRISM_FFMPEG_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
PHOTOPRISM_FFMPEG_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
# PHOTOPRISM_FFMPEG_BITRATE: "64" # video bitrate limit in Mbps (default: 60)
|
# 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):
|
## Run/install on first startup (options: update tensorflow https intel gpu davfs yt-dlp):
|
||||||
PHOTOPRISM_INIT: "https yt-dlp"
|
PHOTOPRISM_INIT: "https"
|
||||||
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
||||||
PHOTOPRISM_VISION_API: "true" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
PHOTOPRISM_VISION_API: "true" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
||||||
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ services:
|
|||||||
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB database username, must be the same as MARIADB_USER
|
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB database username, must be the same as MARIADB_USER
|
||||||
PHOTOPRISM_DATABASE_PASSWORD: "insecure" # MariaDB database password, must be the same as MARIADB_PASSWORD
|
PHOTOPRISM_DATABASE_PASSWORD: "insecure" # MariaDB database password, must be the same as MARIADB_PASSWORD
|
||||||
## Run/install on first startup (https://docs.photoprism.app/getting-started/config-options/#docker-image):
|
## Run/install on first startup (https://docs.photoprism.app/getting-started/config-options/#docker-image):
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
## Computer Vision API (https://docs.photoprism.app/getting-started/config-options/#computer-vision):
|
||||||
PHOTOPRISM_VISION_API: "false" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
PHOTOPRISM_VISION_API: "false" # server: enables service API endpoints under /api/v1/vision (requires access token)
|
||||||
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
PHOTOPRISM_VISION_URI: "" # client: service URI, e.g. http://hostname/api/v1/vision (leave blank to disable)
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ services:
|
|||||||
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
||||||
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
||||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
||||||
# PHOTOPRISM_FFMPEG_ENCODER: "software" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
# PHOTOPRISM_FFMPEG_ENCODER: "software" # 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_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ PHOTOPRISM_SITE_AUTHOR=
|
|||||||
# PHOTOPRISM_FFMPEG_SIZE=1920 # video size limit in pixels (720-7680) (default: 3840)
|
# PHOTOPRISM_FFMPEG_SIZE=1920 # video size limit in pixels (720-7680) (default: 3840)
|
||||||
# PHOTOPRISM_FFMPEG_BITRATE=32 # video bitrate limit in Mbps (default: 60)
|
# PHOTOPRISM_FFMPEG_BITRATE=32 # video bitrate limit in Mbps (default: 60)
|
||||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Run as a non-root user after initialization (supported: 0, 33, 50-99, 500-600, and 900-1200):
|
## Run as a non-root user after initialization (supported: 0, 33, 50-99, 500-600, and 900-1200):
|
||||||
# PHOTOPRISM_UID=1000
|
# PHOTOPRISM_UID=1000
|
||||||
# PHOTOPRISM_GID=1000
|
# PHOTOPRISM_GID=1000
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ services:
|
|||||||
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
||||||
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
||||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
||||||
# PHOTOPRISM_FFMPEG_ENCODER: "software" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
# PHOTOPRISM_FFMPEG_ENCODER: "software" # 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_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ services:
|
|||||||
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
||||||
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
||||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
||||||
# PHOTOPRISM_FFMPEG_ENCODER: "software" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
# PHOTOPRISM_FFMPEG_ENCODER: "software" # 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_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ services:
|
|||||||
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
|
||||||
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
|
||||||
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
## Run/install on first startup, see https://github.com/photoprism/photoprism/blob/develop/scripts/dist/Makefile:
|
||||||
PHOTOPRISM_INIT: "https tensorflow yt-dlp" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
PHOTOPRISM_INIT: "https tensorflow" # common options: update https tensorflow tensorflow-gpu intel gpu davfs yt-dlp
|
||||||
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
## Video Transcoding (https://docs.photoprism.app/getting-started/advanced/transcoding/):
|
||||||
# PHOTOPRISM_FFMPEG_ENCODER: "software" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
# PHOTOPRISM_FFMPEG_ENCODER: "software" # 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_SIZE: "1920" # video size limit in pixels (720-7680) (default: 3840)
|
||||||
|
|||||||
Reference in New Issue
Block a user