Commit graph

17 commits

Author SHA1 Message Date
Féry Mathieu (Mathius) f75a81c9ee
Make configurable time between each RefreshChannelsJob 2022-02-21 10:53:20 +01:00
hirn-lego 21879da80d
Added -d parameter for dbname to postgres-container healthcheck (#2571)
Co-authored-by: Sebastian <sbeck@darklxserver>
2021-11-08 21:47:00 +00:00
황윤성 06be0fb351
Add healthcheck for docker-compose 2021-10-26 10:13:39 +02:00
Samantaz Fox e3054ccdd2
Fix Role "kemal" does not exist (#2490) 2021-10-11 19:34:25 +00:00
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
2021-08-12 19:55:10 +00:00
Perflyst 9a82e86ce9
Merge pull request #1254 from SuperSandro2000/patch-2
Update database automatically in Docker
2020-08-03 17:11:50 +02:00
Sandro Jäckel 7b2b19b4ba
Remove empty Dockerfile 2020-07-25 21:51:58 +02:00
Sandro Jäckel 8ebfaed546
Remove no longer needed POSTGRES_HOST_AUTH_METHOD 2020-07-25 21:51:57 +02:00
Sandro Jäckel 0b52d52f4a
Use inbuilt init script 2020-07-25 21:51:57 +02:00
Sandro Jäckel 6901d10d54
Set magic ENV varialbes for user, default DB
instead of doing it ourselves
2020-07-25 21:51:39 +02:00
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.
2020-06-17 09:59:21 +02:00
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
2020-03-04 12:33:13 -06:00
Omar Roth 856ec03cc7
Revert "Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681)"
This reverts commit ef70668a77.
2020-03-01 11:07:37 -05:00
Omar Roth ef70668a77
Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681) 2020-03-01 10:51:17 -05:00
Dragnucs 37dba6ebfd
Add Postgres health check 2019-08-07 08:07:36 +00:00
tleydxdy d3c4936116
let docker listen to 127.0.0.1 by default 2019-06-17 10:46:37 -04:00
flourgaz 71a99542fe basic docker-compose cluster 2018-09-29 13:30:56 +02:00