summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorA.Yamamoto <49822810+na2na-p@users.noreply.github.com>2023-01-15 20:54:20 +0900
committerGitHub <noreply@github.com>2023-01-15 20:54:20 +0900
commit3e9f88506ed4946bc6eb95d5da5341aff76f2cf2 (patch)
tree2fa33ba53c2dbabaa68b054e6d121fc48bc6d7ca /docker-compose.yml
parentrefactor: rename role.options -> role.policies (diff)
downloadsharkey-3e9f88506ed4946bc6eb95d5da5341aff76f2cf2.tar.gz
sharkey-3e9f88506ed4946bc6eb95d5da5341aff76f2cf2.tar.bz2
sharkey-3e9f88506ed4946bc6eb95d5da5341aff76f2cf2.zip
dbヘルスチェックでFATALの表示が出ないように (#9593)
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index efc85c372e..01bd1b1e6e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -44,7 +44,7 @@ services:
volumes:
- ./db:/var/lib/postgresql/data
healthcheck:
- test: "pg_isready"
+ test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
interval: 5s
retries: 20