mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Setup: Default to MariaDB 12.3 (LTS) in compose examples #5705
This commit is contained in:
parent
71c14fc68b
commit
021bdeb428
12 changed files with 12 additions and 12 deletions
|
|
@ -197,7 +197,7 @@ services:
|
|||
## Docs: https://mariadb.com/docs/reference/
|
||||
## Release Notes: https://mariadb.com/kb/en/changes-improvements-in-mariadb-1011/
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
stop_grace_period: 15s
|
||||
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
|
||||
- seccomp:unconfined
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
container_name: mariadb
|
||||
restart: always
|
||||
stop_grace_period: 15s
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ single-arch ARM64 images (updated and tested less frequently):
|
|||
|
||||
Stable Release : photoprism/photoprism:arm64
|
||||
Development Preview: photoprism/photoprism:preview-arm64
|
||||
MariaDB : arm64v8/mariadb:11
|
||||
MariaDB : arm64v8/mariadb:12.3
|
||||
|
||||
If your device meets the system requirements, mostly the same installation instructions
|
||||
as for regular Linux servers apply:
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: arm64v8/mariadb:11 # ARM64 IMAGE ONLY, DOES NOT WORK ON ARMv7, AMD or Intel
|
||||
image: arm64v8/mariadb:12.3 # ARM64 IMAGE ONLY, DOES NOT WORK ON ARMv7, AMD or Intel
|
||||
platform: "linux/arm64"
|
||||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 15s
|
||||
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ services:
|
|||
- "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
|
||||
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
container_name: mariadb
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 15s
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ services:
|
|||
## MariaDB Database Server (recommended)
|
||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||
mariadb:
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ write_files:
|
|||
|
||||
mariadb:
|
||||
restart: always
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
- apparmor=unconfined
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ services:
|
|||
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue:
|
||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||
restart: unless-stopped
|
||||
image: mariadb:11
|
||||
image: mariadb:12.3
|
||||
container_name: mariadb
|
||||
## "security_opt" specifies options for kernel security modules, it can be omitted if it is not needed or supported:
|
||||
security_opt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue