mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
Added healthcheck for docker
This commit is contained in:
parent
ff5b7d1e36
commit
185a2fb635
@ -9,6 +9,11 @@ services:
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "redis_data:/data"
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 1s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
database:
|
||||
image: mariadb
|
||||
restart: always
|
||||
|
@ -51,6 +51,11 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- redis:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 1s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
cron:
|
||||
image: "nextcloud:{{nextcloud_version}}-fpm-alpine"
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user