mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2025-09-01 15:24:59 +00:00
Make it work
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
; App name that shows on every page title
|
||||
APP_NAME = Gogs: Go Git Service
|
||||
; Change it if you run locally
|
||||
RUN_USER = cloudron
|
||||
; Either "dev", "prod" or "test", default is "dev"
|
||||
RUN_MODE = prod
|
||||
|
||||
[database]
|
||||
DB_TYPE = mysql
|
||||
HOST = ##MYSQL_HOST:##MYSQL_PORT
|
||||
NAME = ##MYSQL_DATABASE
|
||||
USER = ##MYSQL_USERNAME
|
||||
PASSWD = ##MYSQL_PASSWORD
|
||||
SSL_MODE =
|
||||
PATH =
|
||||
|
||||
[repository]
|
||||
ROOT = /app/data
|
||||
SCRIPT_TYPE = bash
|
||||
@@ -15,43 +20,25 @@ DOMAIN = ##HOSTNAME
|
||||
ROOT_URL = https://%(DOMAIN)s/
|
||||
HTTP_ADDR =
|
||||
HTTP_PORT = 3000
|
||||
; Disable SSH feature when not available
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = ##SSH_PORT
|
||||
; Landing page for non-logged users, can be "home" or "explore"
|
||||
LANDING_PAGE = explore
|
||||
|
||||
[database]
|
||||
; Either "mysql", "postgres" or "sqlite3", it's your choice
|
||||
DB_TYPE = mysql
|
||||
HOST = ##MYSQL_HOST:##MYSQL_PORT
|
||||
NAME = ##MYSQL_DATABASE
|
||||
USER = ##MYSQL_USERNAME
|
||||
PASSWD = ##MYSQL_PASSWORD
|
||||
[mailer]
|
||||
ENABLED = true
|
||||
HOST = ##MAIL_SERVER:##MAIL_PORT
|
||||
USER =
|
||||
PASSWD =
|
||||
FROM = ##MAIL_FROM
|
||||
|
||||
[admin]
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = ##SECRET_KEY
|
||||
|
||||
[mailer]
|
||||
ENABLED = true
|
||||
; Name displayed in mail title
|
||||
SUBJECT = %(APP_NAME)s
|
||||
; Mail server
|
||||
; 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 = ##MAIL_SERVER:##MAIL_PORT
|
||||
; Do not verify the certificate of the server. Only use this for self-signed certificates
|
||||
SKIP_VERIFY =
|
||||
; Use client certificate
|
||||
USE_CERTIFICATE = false
|
||||
CERT_FILE =
|
||||
KEY_FILE =
|
||||
; Mail from address, RFC 5322. This can be just an email address, or the "Name" <email@example.com> format
|
||||
FROM = ##MAIL_FROM
|
||||
; Mailer user name and password
|
||||
USER =
|
||||
PASSWD =
|
||||
[service]
|
||||
DISABLE_REGISTRATION = false
|
||||
SHOW_REGISTRATION_BUTTON = false
|
||||
|
||||
|
Reference in New Issue
Block a user