Disable PostgreSQL TCP/IP connection
This commit is contained in:
parent
d8b415ee16
commit
ccd3744d0c
|
@ -13,6 +13,7 @@
|
|||
database = {
|
||||
type = "postgres";
|
||||
passwordFile = "/var/keys/gitea/db";
|
||||
socket = "/run/postgresql/.s.PGSQL.5432";
|
||||
};
|
||||
cookieSecure = true;
|
||||
disableRegistration = true;
|
||||
|
|
|
@ -108,12 +108,11 @@
|
|||
# Generated file; do not edit!
|
||||
# TYPE DATABASE USER ADDRESS METHOD
|
||||
local all all trust
|
||||
host all all 127.0.0.1/32 trust
|
||||
host all all ::1/128 trust
|
||||
'';
|
||||
identMap = ''
|
||||
gitea-users gitea gitea
|
||||
'';
|
||||
extraConfig = "listen_addresses = ''";
|
||||
};
|
||||
|
||||
# PostgreSQL daily backups
|
||||
|
@ -124,12 +123,12 @@
|
|||
startAt = "*-*-* 05:15:00";
|
||||
};
|
||||
|
||||
|
||||
# Miniflux configuration
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
adminCredentialsFile = "/var/keys/miniflux/admin";
|
||||
config = {
|
||||
LISTEN_ADDR = "/run/postgresql/.s.PGSQL.5432";
|
||||
BASE_URL = "https://coolneng.duckdns.org/miniflux/";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue