1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- APP_NAME = Gogs: Go Git Service
- RUN_USER = git
- RUN_MODE = prod
- [database]
- ; these settings are protected and can't be modified
- DB_TYPE = mysql
- HOST = ##MYSQL_HOST:##MYSQL_PORT
- NAME = ##MYSQL_DATABASE
- USER = ##MYSQL_USERNAME
- PASSWD = ##MYSQL_PASSWORD
- SSL_MODE = disable
- PATH =
- [server]
- ; these settings are protected and can't be modified
- PROTOCOL = http
- DOMAIN = ##DOMAIN
- ROOT_URL = https://%(DOMAIN)s/
- HTTP_ADDR =
- HTTP_PORT = 3000
- DISABLE_SSH = ##DISABLE_SSH
- SSH_PORT = ##SSH_PORT
- APP_DATA_PATH = /app/data/appdata
- ; Landing page for non-logged users, can be "home" or "explore"
- LANDING_PAGE = explore
- [repository]
- ; these settings are protected and can't be modified
- ROOT = /app/data/repository
- SCRIPT_TYPE = bash
- [repository.upload]
- ENABLED = true
- TEMP_PATH = /run/gogs/tmp/uploads
- [release.attachment]
- ENABLED = true
- ; APP_DATA_PATH/attachments
- PATH =
- [mailer]
- ; these settings are protected and can't be modified
- ENABLED = true
- HOST = ##MAIL_SERVER:##MAIL_PORT
- USER = ##MAIL_SMTP_USERNAME
- PASSWD = ##MAIL_SMTP_PASSWORD
- FROM = ##MAIL_FROM
- SKIP_VERIFY = true
- [security]
- INSTALL_LOCK = true
- SECRET_KEY = ##SECRET_KEY
- [service]
- DISABLE_REGISTRATION = false
- SHOW_REGISTRATION_BUTTON = false
- ENABLE_NOTIFY_MAIL = true
- [log]
- ; these settings are protected and can't be modified
- ; Either "console", "file", "conn", "smtp" or "database", default is "console"
- MODE = console
- ; used for xorm.log
- ROOT_PATH = /run/gogs
- [picture]
- ; APP_DATA_PATH/avatars
- AVATAR_UPLOAD_PATH =
- GRAVATAR_SOURCE = gravatar
- DISABLE_GRAVATAR = false
- [attachment]
- ENABLE = true
- ; APP_DATA_PATH/attachments
- PATH =
|