diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2021-08-12 21:55:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-12 19:55:10 +0000 |
| commit | 0aae728e33c7a850762c4daf7e551954f5c9783f (patch) | |
| tree | 71ba3f4f7f986e3a83f97e24acf6588999679895 | |
| parent | cea38de4ad734425ae5c23f43a01f7f9248d48be (diff) | |
| download | invidious-0aae728e33c7a850762c4daf7e551954f5c9783f.tar.gz invidious-0aae728e33c7a850762c4daf7e551954f5c9783f.tar.bz2 invidious-0aae728e33c7a850762c4daf7e551954f5c9783f.zip | |
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
| -rw-r--r-- | docker-compose.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index bc292c53..b94f9813 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: . |
