Add Postgres health check

このコミットが含まれているのは:
Dragnucs 2019-08-07 08:07:36 +00:00 committed by GitHub
コミット 37dba6ebfd
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加0行の削除

ファイルの表示

@ -7,6 +7,8 @@ services:
restart: unless-stopped
volumes:
- postgresdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
invidious:
build:
context: .