1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-30 01:36:21 -05:00
Commit Graph

26 Commits

Author SHA1 Message Date
TheFrenchGhosty
16530ac6de Move back to a Debian-based Postgres image 2022-02-23 21:01:12 +01:00
TheFrenchGhosty
a9d2d2211a
Apply suggestion
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2022-02-22 17:31:45 +00:00
TheFrenchGhosty
dfcaed93ea Enforce the source of the image (mostly for Podman compatibility) 2022-02-22 15:40:11 +01:00
TheFrenchGhosty
5e3fcad1fb Remove the enforced container_name following suggestions 2022-02-22 15:36:15 +01:00
TheFrenchGhosty
9e91fd5241 Enforce a container_name and rename the postgres container 2022-02-22 03:02:14 +01:00
TheFrenchGhosty
d90d347006 Re-order the configs in the order of the config file + add statistics_enabled 2022-02-22 02:55:42 +01:00
TheFrenchGhosty
385fe4be22 Move to an Alpine-based Postgres image 2022-02-22 02:43:25 +01:00
TheFrenchGhosty
7ec88741a6 Fix YAML syntax 2022-02-22 02:24:43 +01:00
TheFrenchGhosty
86cb68413d Add a comment explaining that it builds an image from source 2022-02-22 02:11:44 +01:00
TheFrenchGhosty
05c5d293eb Enhance the development compose file 2022-02-22 01:54:36 +01:00
hirn-lego
21879da80d
Added -d parameter for dbname to postgres-container healthcheck ()
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 () 2021-10-11 19:34:25 +00:00
Samantaz Fox
0aae728e33
Fix "fatal role postgres doesn't exist" ()
* 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 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 ()
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 )"
This reverts commit ef70668a77.
2020-03-01 11:07:37 -05:00
Omar Roth
ef70668a77
Add HOST_AUTH_METHOD=trust to docker compose (see ) 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