This commit is contained in:
Alexis Lefebvre 2026-01-21 18:06:59 +00:00 committed by GitHub
commit 66f9ef0779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View file

@ -145,7 +145,7 @@ services:
## 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" # DO NOT REMOVE
## See https://link.photoprism.app/mariadb-enviconment-variables:
## See https://link.photoprism.app/mariadb-environment-variables:
environment:
MARIADB_AUTO_UPGRADE: "1"
MARIADB_INITDB_SKIP_TZINFO: "1"
@ -227,4 +227,4 @@ services:
WATCHTOWER_POLL_INTERVAL: 7200 # checks for updates every 2 hours
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account

View file

@ -146,7 +146,7 @@ services:
## 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" # DO NOT REMOVE
## See https://link.photoprism.app/mariadb-enviconment-variables:
## See https://link.photoprism.app/mariadb-environment-variables:
environment:
MARIADB_AUTO_UPGRADE: "1"
MARIADB_INITDB_SKIP_TZINFO: "1"
@ -243,4 +243,4 @@ services:
WATCHTOWER_POLL_INTERVAL: 7200 # checks for updates every 2 hours
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account

View file

@ -146,7 +146,7 @@ services:
## 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" # DO NOT REMOVE
## See https://link.photoprism.app/mariadb-enviconment-variables:
## See https://link.photoprism.app/mariadb-environment-variables:
environment:
MARIADB_AUTO_UPGRADE: "1"
MARIADB_INITDB_SKIP_TZINFO: "1"
@ -243,4 +243,4 @@ services:
WATCHTOWER_POLL_INTERVAL: 7200 # checks for updates every 2 hours
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account
- "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account

View file

@ -131,7 +131,7 @@ services:
command: --innodb-buffer-pool-size=2G --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" # DO NOT REMOVE
## See https://link.photoprism.app/mariadb-enviconment-variables:
## See https://link.photoprism.app/mariadb-environment-variables:
environment:
MARIADB_AUTO_UPGRADE: "1"
MARIADB_INITDB_SKIP_TZINFO: "1"
@ -142,4 +142,4 @@ services:
## When specified, the container will connect to this host and replicate from it (for advanced users only):
# MARIADB_MASTER_HOST: ""
# MARIADB_REPLICATION_USER: ""
# MARIADB_REPLICATION_PASSWORD: ""
# MARIADB_REPLICATION_PASSWORD: ""