Leftovers & MariaDB performance improvements
This commit is contained in:
@@ -47,7 +47,7 @@ services:
|
||||
PHOTOPRISM_HTTP_PORT: 2342 # Built-in Web server port
|
||||
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_PUBLIC: "true" # No authentication required (disables password protection)
|
||||
PHOTOPRISM_READONLY: "false" # Don't modify originals directory (reduced functionality)
|
||||
PHOTOPRISM_EXPERIMENTAL: "false" # Enables experimental features
|
||||
PHOTOPRISM_DISABLE_WEBDAV: "false" # Disables built-in WebDAV server
|
||||
@@ -62,9 +62,9 @@ services:
|
||||
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB database schema name
|
||||
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB database user name
|
||||
PHOTOPRISM_DATABASE_PASSWORD: "insecure" # MariaDB database user password
|
||||
PHOTOPRISM_SITE_URL: "http://localhost:2342/" # Public PhotoPrism URL
|
||||
PHOTOPRISM_SITE_TITLE: "PhotoPrism"
|
||||
PHOTOPRISM_SITE_CAPTION: "Browse Your Life"
|
||||
PHOTOPRISM_SITE_URL: "https://photos.pukeko.xyz/" # Public PhotoPrism URL
|
||||
PHOTOPRISM_SITE_TITLE: "Pukeko Photography Server"
|
||||
PHOTOPRISM_SITE_CAPTION: "Tarakani, Tel Aviv and in between"
|
||||
PHOTOPRISM_SITE_DESCRIPTION: ""
|
||||
PHOTOPRISM_SITE_AUTHOR: ""
|
||||
# You may optionally set a user / group id using environment variables if your Docker version or NAS does not
|
||||
@@ -84,15 +84,18 @@ services:
|
||||
# - "~/Import:/photoprism/import"
|
||||
# Permanent storage for settings, index & sidecar files (DON'T REMOVE):
|
||||
- "./storage:/photoprism/storage"
|
||||
networks:
|
||||
- network
|
||||
- internal
|
||||
|
||||
mariadb:
|
||||
container_name: photoprism_db
|
||||
image: mariadb:10.5
|
||||
image: mariadb:latest #10.6
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
- apparmor:unconfined
|
||||
command: mysqld --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=50
|
||||
command: mysqld --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=50 --innodb-buffer-pool-size=2G
|
||||
volumes: # Don't remove permanent storage for index database files!
|
||||
- "./database:/var/lib/mysql"
|
||||
environment:
|
||||
@@ -100,7 +103,10 @@ services:
|
||||
MYSQL_DATABASE: photoprism
|
||||
MYSQL_USER: photoprism
|
||||
MYSQL_PASSWORD: insecure
|
||||
networks:
|
||||
- internal
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: gerbil_network
|
||||
network:
|
||||
driver: bridge
|
||||
internal:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user