diff --git a/roles/gogs/templates/app.ini b/roles/gogs/templates/app.ini index c76cd4a..fd4bb09 100644 --- a/roles/gogs/templates/app.ini +++ b/roles/gogs/templates/app.ini @@ -59,7 +59,7 @@ LOCAL_ROOT_URL = http://localhost:%(HTTP_PORT)s/ ; Disable SSH feature when not available DISABLE_SSH = false ; Whether use builtin SSH server or not. false default -START_SSH_SERVER = true +START_SSH_SERVER = false ; Domain name to be exposed in clone URL SSH_DOMAIN = %(DOMAIN)s ; Port number to be exposed in clone URL @@ -67,7 +67,7 @@ SSH_PORT = 22 ; Port number builtin SSH server listens on SSH_LISTEN_PORT = %(SSH_PORT)s ; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'. -SSH_ROOT_PATH = /home/git/.ssh +SSH_ROOT_PATH = /home/gogs/.ssh ; Directory to create temporary files when test publick key using ssh-keygen, ; default is system temporary directory. SSH_KEY_TEST_PATH = @@ -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 @@ -166,19 +166,19 @@ SUBJECT = %(APP_NAME)s ; Gmail: smtp.gmail.com:587 ; QQ: smtp.qq.com:25 ; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used. -HOST = +HOST = smtp.lilik.it:587 ; Disable HELO operation when hostname are different. DISABLE_HELO = ; Custom hostname for HELO operation, default is from system. HELO_HOSTNAME = ; Do not verify the certificate of the server. Only use this for self-signed certificates -SKIP_VERIFY = +SKIP_VERIFY = false ; Use client certificate -USE_CERTIFICATE = false +USE_CERTIFICATE = true CERT_FILE = custom/mailer/cert.pem KEY_FILE = custom/mailer/key.pem ; Mail from address, RFC 5322. This can be just an email address, or the `"Name" ` format -FROM = +FROM = projects@lilik.it ; Mailer user name and password USER = PASSWD =