wallabag: upgrade to mariadb:11 and some improvements

This commit is contained in:
Florian Zirker 2024-04-05 06:40:41 +00:00
parent d46f529f3d
commit a4420a89e7

View file

@ -20,9 +20,9 @@ services:
- web
- wallabag
volumes:
- /var/dockervolumes/wallabag/images:/var/www/wallabag/web/assets/images
- ${VOLUMES_PATH}/wallabag/images:/var/www/wallabag/web/assets/images
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
test: ["CMD", "curl" ,"--fail", "http://localhost/api/info"]
interval: 10s
timeout: 3s
labels:
@ -35,23 +35,19 @@ services:
depends_on:
- db
- redis
db:
image: mariadb:10
image: mariadb:${MARIADB_VERSION}
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MARIADB_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
networks:
- wallabag
volumes:
- /var/dockervolumes/wallabag/db:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 10s
timeout: 3s
labels:
- "docker.group=wallabag"
redis:
image: redis
restart: unless-stopped