wallabag: upgrade to mariadb:11 and some improvements
This commit is contained in:
parent
d46f529f3d
commit
a4420a89e7
1 changed files with 6 additions and 10 deletions
|
@ -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:
|
||||
|
@ -37,18 +37,14 @@ services:
|
|||
- 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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue