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:
parent
2d61711e07
commit
517f4f0080
2 changed files with 2 additions and 4 deletions
configuration/services
|
@ -14,6 +14,7 @@
|
|||
virtualisation.pods.gitea = {
|
||||
hostname = "gitea.tlater.net";
|
||||
publish = [ "3000:3000" "2221:2221" ];
|
||||
network = "slirp4netns";
|
||||
|
||||
containers = {
|
||||
gitea = {
|
||||
|
@ -26,7 +27,6 @@
|
|||
DB_HOST = "gitea-postgres:5432";
|
||||
DB_NAME = "gitea";
|
||||
DB_USER = "gitea";
|
||||
DB_PASSWD = "/qNDDK9WCMuubfA7D8DFwfl9T+Gy2IMDvPhiNpcxZjY=";
|
||||
|
||||
USER_UID = toString config.users.extraUsers.gitea.uid;
|
||||
USER_GID = toString config.users.extraGroups.gitea.gid;
|
||||
|
@ -42,7 +42,6 @@
|
|||
environment = {
|
||||
POSTGRES_DB = "gitea";
|
||||
POSTGRES_USER = "gitea";
|
||||
POSTGRES_PASSWORD = "/qNDDK9WCMuubfA7D8DFwfl9T+Gy2IMDvPhiNpcxZjY=";
|
||||
};
|
||||
volumes = [ "gitea-db-data:/var/lib/postgresql/data" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue