postgres: Get rid of password authentication

Podman pods make this obsolete; though we need to explicitly set
slirp4netns, otherwise podman will not create private network
namespaces for the pods.
This commit is contained in:
Tristan Daniël Maat 2021-05-16 00:40:09 +01:00
parent 2d61711e07
commit 517f4f0080
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 2 additions and 4 deletions
configuration/services

View file

@ -4,6 +4,7 @@
virtualisation.pods.nextcloud = {
hostname = "nextcloud.tlater.net";
publish = [ "3001:80" ];
network = "slirp4netns";
containers = {
nextcloud = {
@ -18,7 +19,6 @@
POSTGRES_DB = "nextcloud";
POSTGRES_USER = "nextcloud";
POSTGRES_HOST = "nextcloud-postgres";
POSTGRES_PASSWORD = "rI7t7Nek1yGA9ucrRc7Uhy0jcjwPjnXa8me4o8tJON8=";
OVERWRITEPROTOCOL = "https";
};
};
@ -43,7 +43,6 @@
environment = {
POSTGRES_DB = "nextcloud";
POSTGRES_USER = "nextcloud";
POSTGRES_PASSWORD = "rI7t7Nek1yGA9ucrRc7Uhy0jcjwPjnXa8me4o8tJON8=";
};
volumes = [ "nextcloud-db-data:/var/lib/postgresql/data" ];
};