mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Merge 96c851bde2 into 26b5cbafcd
This commit is contained in:
commit
66f9ef0779
4 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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: ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue