Commit Graph

28 Commits (a7b2df31f0cb34d6cf82cbd3589304f8f651f1df)

Author SHA1 Message Date
PrivateGER 6577cc0c8c
Fix a dead link to Docker install documentation ()
TheFrenchGhosty 2c6cd74dc1
Set the Postgres version to 13 as a temporary workaround for
TheFrenchGhosty 16530ac6de Move back to a Debian-based Postgres image
TheFrenchGhosty a9d2d2211a
Apply suggestion
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
TheFrenchGhosty dfcaed93ea Enforce the source of the image (mostly for Podman compatibility)
TheFrenchGhosty 5e3fcad1fb Remove the enforced container_name following suggestions
TheFrenchGhosty 9e91fd5241 Enforce a container_name and rename the postgres container
TheFrenchGhosty d90d347006 Re-order the configs in the order of the config file + add statistics_enabled
TheFrenchGhosty 385fe4be22 Move to an Alpine-based Postgres image
TheFrenchGhosty 7ec88741a6 Fix YAML syntax
TheFrenchGhosty 86cb68413d Add a comment explaining that it builds an image from source
TheFrenchGhosty 05c5d293eb Enhance the development compose file
hirn-lego 21879da80d
Added -d parameter for dbname to postgres-container healthcheck ()
Co-authored-by: Sebastian <sbeck@darklxserver>
황윤성 06be0fb351
Add healthcheck for docker-compose
Samantaz Fox e3054ccdd2
Fix `Role "kemal" does not exist` ()
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
Perflyst 9a82e86ce9
Merge pull request from SuperSandro2000/patch-2
Update database automatically in Docker
Sandro Jäckel 7b2b19b4ba
Remove empty Dockerfile
Sandro Jäckel 8ebfaed546
Remove no longer needed POSTGRES_HOST_AUTH_METHOD
Sandro Jäckel 0b52d52f4a
Use inbuilt init script
Sandro Jäckel 6901d10d54
Set magic ENV varialbes for user, default DB
instead of doing it ourselves
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.
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
Omar Roth 856ec03cc7
Revert "Add HOST_AUTH_METHOD=trust to docker compose (see )"
This reverts commit ef70668a77.
Omar Roth ef70668a77
Add HOST_AUTH_METHOD=trust to docker compose (see )
Dragnucs 37dba6ebfd
Add Postgres health check
tleydxdy d3c4936116
let docker listen to 127.0.0.1 by default
flourgaz 71a99542fe basic docker-compose cluster