mirror of
https://github.com/tommytran732/Vaultwarden-Docker-Compose
synced 2024-11-14 17:01:32 -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
|
- POSTGRES_PASSWORD=YOUR_POSTGRESQL_PASSWORD
|
||||||
networks:
|
networks:
|
||||||
- postgres
|
- postgres
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-U", "vaultwarden"]
|
||||||
|
interval: 15s
|
||||||
|
timeout: 5s
|
||||||
user: "70:70"
|
user: "70:70"
|
||||||
read_only: true
|
read_only: true
|
||||||
tmpfs:
|
tmpfs:
|
||||||
|
Loading…
Reference in New Issue
Block a user