mariadb: update and pin to 11.4.5, add healthcheck, change root password
mariadb: change root password
This commit is contained in:
+14
-1
@@ -2,6 +2,8 @@
|
||||
secrets:
|
||||
gitea_runner_token:
|
||||
file: secrets/gitea_runner_token.txt
|
||||
mariadb_root_password:
|
||||
file: secrets/mariadb_root_password
|
||||
|
||||
configs:
|
||||
caddyfile:
|
||||
@@ -498,18 +500,29 @@ services:
|
||||
|
||||
mariadb:
|
||||
container_name: mariadb
|
||||
image: linuxserver/mariadb
|
||||
image: linuxserver/mariadb:11.4.5
|
||||
networks:
|
||||
public:
|
||||
ipv4_address: 192.168.240.23
|
||||
ports:
|
||||
- "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}"
|
||||
secrets:
|
||||
- mariadb_root_password
|
||||
environment:
|
||||
- MARIADB_AUTO_UPGRADE=true
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
- FILE__MYSQL_ROOT_PASSWORD=/run/secrets/mariadb_root_password
|
||||
volumes:
|
||||
- "${DOCKER_STORAGE_PATH}/mariadb:/config"
|
||||
- sockets:/run/mysqld/
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
baserow:
|
||||
container_name: baserow
|
||||
|
||||
Reference in New Issue
Block a user