|
|
@ -110,7 +110,7 @@ DB_TYPE = postgres |
|
|
|
HOST = 127.0.0.1:5432 |
|
|
|
NAME = gogs |
|
|
|
USER = gogs |
|
|
|
PASSWD = `{{ db_password.passwd }}` |
|
|
|
PASSWD = {{ db_password.passwd }} |
|
|
|
; For "postgres" only, either "disable", "require" or "verify-full" |
|
|
|
SSL_MODE = disable |
|
|
|
; For "sqlite3" and "tidb", use absolute path when you start as service |
|
|
@ -121,7 +121,7 @@ PATH = data/gogs.db |
|
|
|
[security] |
|
|
|
INSTALL_LOCK = false |
|
|
|
; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!! |
|
|
|
SECRET_KEY = !#@FDEWREWR&*( |
|
|
|
SECRET_KEY = {{ gogs_password.passwd }} |
|
|
|
; Auto-login remember days |
|
|
|
LOGIN_REMEMBER_DAYS = 7 |
|
|
|
COOKIE_USERNAME = gogs_awesome |
|
|
|