mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix "fatal role postgres doesn't exist" (#2296)
* Fix "fatal role postgres doesn't exist" Fix a frequent error with recent postgres docker images: `FATAL: role "postgres" does not exist` * Use $$VAR so it's expanded by the shell, not docker
This commit is contained in:
parent
cea38de4ad
commit
0aae728e33
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ services:
|
|||
POSTGRES_PASSWORD: kemal
|
||||
POSTGRES_USER: kemal
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"]
|
||||
invidious:
|
||||
build:
|
||||
context: .
|
||||
|
|
Loading…
Reference in a new issue