mirror of
https://github.com/tommytran732/Vaultwarden-Docker-Compose
synced 2024-11-22 10:51:33 -05:00
Add postgres healthcheck
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
8218de9793
commit
6b4f005073
@ -56,6 +56,10 @@ services:
|
||||
- POSTGRES_PASSWORD=YOUR_POSTGRESQL_PASSWORD
|
||||
networks:
|
||||
- postgres
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "vaultwarden"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
user: "70:70"
|
||||
read_only: true
|
||||
tmpfs:
|
||||
|
Loading…
Reference in New Issue
Block a user