From 387a740fb2210a7195174e04f7393de47515258a Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 30 Mar 2022 14:29:01 +0200 Subject: [PATCH] Docker: Update inline docs in docker-compose.yml examples --- docker/examples/arm64/docker-compose.yml | 4 ++-- docker/examples/armv7/docker-compose.yml | 4 ++-- docker/examples/cloud/docker-compose.yml | 4 ++-- docker/examples/docker-compose.yml | 6 +++--- docker/examples/macos/docker-compose.yml | 6 +++--- docker/examples/scheduler/docker-compose.yml | 6 +++--- docker/examples/sqlite/docker-compose.yml | 4 ++-- docker/examples/windows/docker-compose.yml | 6 +++--- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docker/examples/arm64/docker-compose.yml b/docker/examples/arm64/docker-compose.yml index e81d59e1d..ba1da53be 100644 --- a/docker/examples/arm64/docker-compose.yml +++ b/docker/examples/arm64/docker-compose.yml @@ -67,7 +67,7 @@ services: PHOTOPRISM_WORKERS: 2 # limits the number of indexing workers to reduce system load PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server @@ -124,7 +124,7 @@ services: command: mysqld --innodb-buffer-pool-size=128M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: volumes: - - "./database:/var/lib/mysql" # important, don't remove + - "./database:/var/lib/mysql" # important, do not remove environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/docker/examples/armv7/docker-compose.yml b/docker/examples/armv7/docker-compose.yml index 92b4f26e3..488997842 100644 --- a/docker/examples/armv7/docker-compose.yml +++ b/docker/examples/armv7/docker-compose.yml @@ -62,7 +62,7 @@ services: PHOTOPRISM_WORKERS: 1 # Limits the number of indexing workers to reduce system load PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server @@ -115,7 +115,7 @@ services: - apparmor:unconfined ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: volumes: - - "./mariadb:/config" # important, don't remove + - "./mariadb:/config" # important, do not remove environment: MYSQL_ROOT_PASSWORD: insecure MYSQL_DATABASE: photoprism diff --git a/docker/examples/cloud/docker-compose.yml b/docker/examples/cloud/docker-compose.yml index 14d234ddb..fbe40c37c 100644 --- a/docker/examples/cloud/docker-compose.yml +++ b/docker/examples/cloud/docker-compose.yml @@ -138,7 +138,7 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server @@ -196,7 +196,7 @@ services: command: mysqld --innodb-buffer-pool-size=128M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: volumes: - - "./database:/var/lib/mysql" # important, don't remove + - "./database:/var/lib/mysql" # important, do not remove environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/docker/examples/docker-compose.yml b/docker/examples/docker-compose.yml index 6e82a3e81..236eefd6e 100644 --- a/docker/examples/docker-compose.yml +++ b/docker/examples/docker-compose.yml @@ -58,11 +58,11 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables Settings in Web UI + PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow PHOTOPRISM_DISABLE_FACES: "false" # disables facial recognition PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification @@ -125,7 +125,7 @@ services: command: mysqld --innodb-buffer-pool-size=128M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: volumes: - - "./database:/var/lib/mysql" # important, don't remove + - "./database:/var/lib/mysql" # important, do not remove environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/docker/examples/macos/docker-compose.yml b/docker/examples/macos/docker-compose.yml index 0979a340e..696df706b 100644 --- a/docker/examples/macos/docker-compose.yml +++ b/docker/examples/macos/docker-compose.yml @@ -55,11 +55,11 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables Settings in Web UI + PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow PHOTOPRISM_DISABLE_FACES: "false" # disables facial recognition PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification @@ -98,7 +98,7 @@ services: ## see https://mariadb.com/kb/en/server-system-variables/#lower_case_table_names command: mysqld --lower-case-table-names=1 --innodb-buffer-pool-size=128M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 volumes: - - "database:/var/lib/mysql" # important, don't remove; named volume "database" is defined at the bottom + - "database:/var/lib/mysql" # important, do not remove; named volume "database" is defined at the bottom environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/docker/examples/scheduler/docker-compose.yml b/docker/examples/scheduler/docker-compose.yml index 971da7a07..1271b95a3 100644 --- a/docker/examples/scheduler/docker-compose.yml +++ b/docker/examples/scheduler/docker-compose.yml @@ -60,11 +60,11 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables Settings in Web UI + PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow PHOTOPRISM_DISABLE_FACES: "false" # disables facial recognition PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification @@ -111,7 +111,7 @@ services: command: mysqld --innodb-buffer-pool-size=128M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: volumes: - - "./database:/var/lib/mysql" # important, don't remove + - "./database:/var/lib/mysql" # important, do not remove environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/docker/examples/sqlite/docker-compose.yml b/docker/examples/sqlite/docker-compose.yml index 3c9efeb20..8b6f79b65 100644 --- a/docker/examples/sqlite/docker-compose.yml +++ b/docker/examples/sqlite/docker-compose.yml @@ -58,11 +58,11 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode (shows additional log messages) PHOTOPRISM_PUBLIC: "false" # no authentication required (disables password protection) - PHOTOPRISM_READONLY: "false" # don't modify originals directory (reduced functionality) + PHOTOPRISM_READONLY: "false" # do not modify originals directory (reduced functionality) PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables Settings in Web UI + PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow PHOTOPRISM_DISABLE_FACES: "false" # disables facial recognition PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification diff --git a/docker/examples/windows/docker-compose.yml b/docker/examples/windows/docker-compose.yml index f3e212d5e..c73edba5b 100644 --- a/docker/examples/windows/docker-compose.yml +++ b/docker/examples/windows/docker-compose.yml @@ -60,11 +60,11 @@ services: PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_DEBUG: "false" # run in debug mode, shows additional log messages PHOTOPRISM_PUBLIC: "false" # no authentication required, disables password protection - PHOTOPRISM_READONLY: "false" # don't modify originals folder; disables import, upload, and delete + PHOTOPRISM_READONLY: "false" # do not modify originals folder; disables import, upload, and delete PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features PHOTOPRISM_DISABLE_CHOWN: "false" # disables storage permission updates on startup PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables Settings in Web UI + PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow PHOTOPRISM_DISABLE_FACES: "false" # disables facial recognition PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification @@ -104,7 +104,7 @@ services: ## see https://mariadb.com/kb/en/server-system-variables/#lower_case_table_names command: mysqld --innodb-buffer-pool-size=128M --lower-case-table-names=1 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120 volumes: - - "database:/var/lib/mysql" # important, don't remove; named volume "database" is defined at the bottom + - "database:/var/lib/mysql" # important, do not remove; named volume "database" is defined at the bottom environment: MARIADB_AUTO_UPGRADE: "1" MARIADB_INITDB_SKIP_TZINFO: "1"