modules: services: gitea: migrate to 'settings'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c5c1e159e8
commit
f4b7914894
|
@ -64,10 +64,6 @@ in
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
useWizard = false;
|
useWizard = false;
|
||||||
disableRegistration = true;
|
|
||||||
|
|
||||||
# only send cookies via HTTPS
|
|
||||||
cookieSecure = true;
|
|
||||||
|
|
||||||
database = {
|
database = {
|
||||||
type = "postgres"; # Automatic setup
|
type = "postgres"; # Automatic setup
|
||||||
|
@ -90,6 +86,15 @@ in
|
||||||
MAILER_TYPE = cfg.mail.type;
|
MAILER_TYPE = cfg.mail.type;
|
||||||
IS_TLS_ENABLED = cfg.mail.tls;
|
IS_TLS_ENABLED = cfg.mail.tls;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
session = {
|
||||||
|
# only send cookies via HTTPS
|
||||||
|
COOKIE_SECURE = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue