Commit Graph

16 Commits (f34f8ef188542590d7195be5cbe8b926fa2fa229)

Author SHA1 Message Date
hirn-lego 21879da80d
Added -d parameter for dbname to postgres-container healthcheck (#2571)
Co-authored-by: Sebastian <sbeck@darklxserver>
3 years ago
황윤성 06be0fb351
Add healthcheck for docker-compose 3 years ago
Samantaz Fox e3054ccdd2
Fix `Role "kemal" does not exist` (#2490) 3 years ago
Samantaz Fox 0aae728e33
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
3 years ago
Perflyst 9a82e86ce9
Merge pull request #1254 from SuperSandro2000/patch-2
Update database automatically in Docker
4 years ago
Sandro Jäckel 7b2b19b4ba
Remove empty Dockerfile 4 years ago
Sandro Jäckel 8ebfaed546
Remove no longer needed POSTGRES_HOST_AUTH_METHOD 4 years ago
Sandro Jäckel 0b52d52f4a
Use inbuilt init script 4 years ago
Sandro Jäckel 6901d10d54
Set magic ENV varialbes for user, default DB
instead of doing it ourselves
4 years ago
Sandro eb880e8de0
Update database automatically in Docker
Applying the migrations scripts by hand in Docker is not that easy and most people expect this to automatically happen.
4 years ago
Omar Roth 3126e1ac94
docker: allow to configure Invidious by env var (#1030)
Invidious gained support to read its configuration from an env var
instead of config file in e3c10d779d.

Unfortunately, Docker doesn't allow newline characters in env var
values (see [0]) which means we can only provide a proper YAML config
by using the inlined configuration in docker-compose.yml which,
unfortunately, is tracked by Git. Once support for multiline env var
values has been added to Docker, we should migrate and read the config
from a .env file instead (which is not tracked by Git).

[0]: https://github.com/docker/compose/issues/3527
5 years ago
Omar Roth 856ec03cc7
Revert "Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681)"
This reverts commit ef70668a77.
5 years ago
Omar Roth ef70668a77
Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681) 5 years ago
Dragnucs 37dba6ebfd
Add Postgres health check 5 years ago
tleydxdy d3c4936116
let docker listen to 127.0.0.1 by default 5 years ago
flourgaz 71a99542fe basic docker-compose cluster 6 years ago