Commit Graph

25 Commits (a9d2d2211a777699672519933d50b1f61a570a42)

Author SHA1 Message Date
TheFrenchGhosty a9d2d2211a
Apply suggestion
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
3 years ago
TheFrenchGhosty dfcaed93ea Enforce the source of the image (mostly for Podman compatibility) 3 years ago
TheFrenchGhosty 5e3fcad1fb Remove the enforced container_name following suggestions 3 years ago
TheFrenchGhosty 9e91fd5241 Enforce a container_name and rename the postgres container 3 years ago
TheFrenchGhosty d90d347006 Re-order the configs in the order of the config file + add statistics_enabled 3 years ago
TheFrenchGhosty 385fe4be22 Move to an Alpine-based Postgres image 3 years ago
TheFrenchGhosty 7ec88741a6 Fix YAML syntax 3 years ago
TheFrenchGhosty 86cb68413d Add a comment explaining that it builds an image from source 3 years ago
TheFrenchGhosty 05c5d293eb Enhance the development compose file 3 years ago
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