Setup: Default to MariaDB 12.3 (LTS) in compose examples #5705

This commit is contained in:
Cathie Integra 2026-06-28 15:15:27 +02:00
parent 71c14fc68b
commit 021bdeb428
12 changed files with 12 additions and 12 deletions

View file

@ -197,7 +197,7 @@ services:
## Docs: https://mariadb.com/docs/reference/ ## Docs: https://mariadb.com/docs/reference/
## Release Notes: https://mariadb.com/kb/en/changes-improvements-in-mariadb-1011/ ## Release Notes: https://mariadb.com/kb/en/changes-improvements-in-mariadb-1011/
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
stop_grace_period: 15s stop_grace_period: 15s
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239 security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
- seccomp:unconfined - seccomp:unconfined

View file

@ -192,7 +192,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
container_name: mariadb container_name: mariadb
restart: always restart: always
stop_grace_period: 15s stop_grace_period: 15s

View file

@ -12,7 +12,7 @@ single-arch ARM64 images (updated and tested less frequently):
Stable Release : photoprism/photoprism:arm64 Stable Release : photoprism/photoprism:arm64
Development Preview: photoprism/photoprism:preview-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 If your device meets the system requirements, mostly the same installation instructions
as for regular Linux servers apply: as for regular Linux servers apply:

View file

@ -134,7 +134,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: 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" platform: "linux/arm64"
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors

View file

@ -136,7 +136,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
restart: unless-stopped restart: unless-stopped

View file

@ -107,7 +107,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
restart: unless-stopped restart: unless-stopped
stop_grace_period: 15s stop_grace_period: 15s
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239 security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239

View file

@ -136,7 +136,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
restart: unless-stopped restart: unless-stopped

View file

@ -27,7 +27,7 @@ services:
- "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE) - "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
restart: unless-stopped restart: unless-stopped

View file

@ -116,7 +116,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
container_name: mariadb container_name: mariadb
restart: unless-stopped restart: unless-stopped
stop_grace_period: 15s stop_grace_period: 15s

View file

@ -113,7 +113,7 @@ services:
## MariaDB Database Server (recommended) ## MariaDB Database Server (recommended)
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql ## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb: mariadb:
image: mariadb:11 image: mariadb:12.3
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
restart: unless-stopped restart: unless-stopped

View file

@ -291,7 +291,7 @@ write_files:
mariadb: mariadb:
restart: always restart: always
image: mariadb:11 image: mariadb:12.3
security_opt: security_opt:
- seccomp=unconfined - seccomp=unconfined
- apparmor=unconfined - apparmor=unconfined

View file

@ -121,7 +121,7 @@ services:
## If MariaDB gets stuck in a restart loop, this points to a memory or filesystem issue: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
restart: unless-stopped restart: unless-stopped
image: mariadb:11 image: mariadb:12.3
container_name: mariadb container_name: mariadb
## "security_opt" specifies options for kernel security modules, it can be omitted if it is not needed or supported: ## "security_opt" specifies options for kernel security modules, it can be omitted if it is not needed or supported:
security_opt: security_opt: