Config: Update docker-compose.yml examples
Signed-off-by: Michael Mayer <michael@lastzero.net>
This commit is contained in:
parent
7fe471900c
commit
2b053d7a8b
2 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@ services:
|
||||||
PHOTOPRISM_HTTP_HOST: "0.0.0.0"
|
PHOTOPRISM_HTTP_HOST: "0.0.0.0"
|
||||||
PHOTOPRISM_HTTP_PORT: 2342
|
PHOTOPRISM_HTTP_PORT: 2342
|
||||||
PHOTOPRISM_SETTINGS_HIDDEN: "false" # Users can not view or change settings
|
PHOTOPRISM_SETTINGS_HIDDEN: "false" # Users can not view or change settings
|
||||||
PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # Initial admin password - PLEASE CHANGE!
|
PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # Initial admin password: PLEASE CHANGE!
|
||||||
PHOTOPRISM_DATABASE_DRIVER: "sqlite" # Change to "mysql" for external MySQL or MariaDB
|
PHOTOPRISM_DATABASE_DRIVER: "sqlite" # Change to "mysql" for external MySQL or MariaDB
|
||||||
# PHOTOPRISM_DATABASE_DRIVER: "mysql" # Using MariaDB or MySQL instead of SQLite is optional
|
# PHOTOPRISM_DATABASE_DRIVER: "mysql" # Using MariaDB or MySQL instead of SQLite is optional
|
||||||
# PHOTOPRISM_DATABASE_DSN: "user:passwd@tcp(photoprism-db:3306)/photoprism?charset=utf8mb4,utf8&parseTime=true"
|
# PHOTOPRISM_DATABASE_DSN: "user:passwd@tcp(photoprism-db:3306)/photoprism?charset=utf8mb4,utf8&parseTime=true"
|
||||||
|
@ -57,11 +57,11 @@ services:
|
||||||
PHOTOPRISM_JPEG_QUALITY: 92 # Set to 95 for high-quality thumbnails (25-100)
|
PHOTOPRISM_JPEG_QUALITY: 92 # Set to 95 for high-quality thumbnails (25-100)
|
||||||
PHOTOPRISM_DARKTABLE_PRESETS: "false" # Use darktable presets (disables concurrent raw to jpeg conversion)
|
PHOTOPRISM_DARKTABLE_PRESETS: "false" # Use darktable presets (disables concurrent raw to jpeg conversion)
|
||||||
volumes:
|
volumes:
|
||||||
- "~/Pictures:/photoprism/originals" # [local path]:[container path]
|
- "~/PhotoPrism/Storage:/photoprism/storage" # Folder for settings, index & sidecar files: DON'T REMOVE!
|
||||||
|
- "~/Pictures:/photoprism/originals" # Original photo & video files [local path]:[container path]
|
||||||
# Multiple folders can be indexed by mounting them as subfolders of /photoprism/originals:
|
# Multiple folders can be indexed by mounting them as subfolders of /photoprism/originals:
|
||||||
# - "~/Family:/photoprism/originals/Family" # [folder_1]:/photoprism/originals/[folder_1]
|
# - "~/Family:/photoprism/originals/Family" # [folder_1]:/photoprism/originals/[folder_1]
|
||||||
# - "~/Friends:/photoprism/originals/Friends" # [folder_2]:/photoprism/originals/[folder_2]
|
# - "~/Friends:/photoprism/originals/Friends" # [folder_2]:/photoprism/originals/[folder_2]
|
||||||
- "~/PhotoPrism/Storage:/photoprism/storage" # Settings, index, sidecar files, and generated thumbnails
|
|
||||||
- "~/PhotoPrism/Import:/photoprism/import" # Mounting the import folder is optional (see docs)
|
- "~/PhotoPrism/Import:/photoprism/import" # Mounting the import folder is optional (see docs)
|
||||||
|
|
||||||
# Uncomment the following lines to use MariaDB instead of SQLite for improved performance & scalability:
|
# Uncomment the following lines to use MariaDB instead of SQLite for improved performance & scalability:
|
||||||
|
|
|
@ -42,7 +42,7 @@ services:
|
||||||
PHOTOPRISM_HTTP_HOST: "0.0.0.0"
|
PHOTOPRISM_HTTP_HOST: "0.0.0.0"
|
||||||
PHOTOPRISM_HTTP_PORT: 2342
|
PHOTOPRISM_HTTP_PORT: 2342
|
||||||
PHOTOPRISM_SETTINGS_HIDDEN: "false" # Users can not view or change settings
|
PHOTOPRISM_SETTINGS_HIDDEN: "false" # Users can not view or change settings
|
||||||
PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # Initial admin password - PLEASE CHANGE!
|
PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # Initial admin password: PLEASE CHANGE!
|
||||||
PHOTOPRISM_DATABASE_DRIVER: "sqlite" # Change to "mysql" for external MySQL or MariaDB
|
PHOTOPRISM_DATABASE_DRIVER: "sqlite" # Change to "mysql" for external MySQL or MariaDB
|
||||||
# PHOTOPRISM_DATABASE_DRIVER: "mysql" # Using MariaDB or MySQL instead of SQLite is optional
|
# PHOTOPRISM_DATABASE_DRIVER: "mysql" # Using MariaDB or MySQL instead of SQLite is optional
|
||||||
# PHOTOPRISM_DATABASE_DSN: "user:passwd@tcp(photoprism-db:3306)/photoprism?charset=utf8mb4,utf8&parseTime=true"
|
# PHOTOPRISM_DATABASE_DSN: "user:passwd@tcp(photoprism-db:3306)/photoprism?charset=utf8mb4,utf8&parseTime=true"
|
||||||
|
@ -57,11 +57,11 @@ services:
|
||||||
PHOTOPRISM_JPEG_QUALITY: 92 # Set to 95 for high-quality thumbnails (25-100)
|
PHOTOPRISM_JPEG_QUALITY: 92 # Set to 95 for high-quality thumbnails (25-100)
|
||||||
PHOTOPRISM_DARKTABLE_PRESETS: "false" # Use darktable presets (disables concurrent raw to jpeg conversion)
|
PHOTOPRISM_DARKTABLE_PRESETS: "false" # Use darktable presets (disables concurrent raw to jpeg conversion)
|
||||||
volumes:
|
volumes:
|
||||||
- "~/Pictures:/photoprism/originals" # [local path]:[container path]
|
- "~/PhotoPrism/Storage:/photoprism/storage" # Folder for settings, index & sidecar files: DON'T REMOVE!
|
||||||
|
- "~/Pictures:/photoprism/originals" # Original photo & video files [local path]:[container path]
|
||||||
# Multiple folders can be indexed by mounting them as subfolders of /photoprism/originals:
|
# Multiple folders can be indexed by mounting them as subfolders of /photoprism/originals:
|
||||||
# - "~/Family:/photoprism/originals/Family" # [folder_1]:/photoprism/originals/[folder_1]
|
# - "~/Family:/photoprism/originals/Family" # [folder_1]:/photoprism/originals/[folder_1]
|
||||||
# - "~/Friends:/photoprism/originals/Friends" # [folder_2]:/photoprism/originals/[folder_2]
|
# - "~/Friends:/photoprism/originals/Friends" # [folder_2]:/photoprism/originals/[folder_2]
|
||||||
- "~/PhotoPrism/Storage:/photoprism/storage" # Settings, index, sidecar files, and generated thumbnails
|
|
||||||
- "~/PhotoPrism/Import:/photoprism/import" # Mounting the import folder is optional (see docs)
|
- "~/PhotoPrism/Import:/photoprism/import" # Mounting the import folder is optional (see docs)
|
||||||
|
|
||||||
# Uncomment the following lines to use MariaDB instead of SQLite for improved performance & scalability:
|
# Uncomment the following lines to use MariaDB instead of SQLite for improved performance & scalability:
|
||||||
|
|
Loading…
Reference in a new issue