Skip to content

Instantly share code, notes, and snippets.

@Alan-Liang
Last active February 25, 2020 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alan-Liang/24bce4fd6cb6ed717d1a1fa28a317973 to your computer and use it in GitHub Desktop.
Save Alan-Liang/24bce4fd6cb6ed717d1a1fa28a317973 to your computer and use it in GitHub Desktop.
APP_NAME = ***
RUN_USER = git
RUN_MODE = prod
[security]
INTERNAL_TOKEN = ***
INSTALL_LOCK = true
SECRET_KEY = ***
[database]
DB_TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = ***
USER = ***
PASSWD = ***
SSL_MODE = disable
PATH = ***/data/gitea.db
[repository]
ROOT = ***/gitea-repositories
[server]
SSH_DOMAIN = ***
DOMAIN = ***
HTTP_PORT = 3000
ROOT_URL = ***
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = ***/data/lfs
LFS_JWT_SECRET = ***
OFFLINE_MODE = false
[mailer]
ENABLED = true
HOST = ***
FROM = ***
USER = ***
PASSWD = ***
[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = ***
[picture]
DISABLE_GRAVATAR = true
ENABLE_FEDERATED_AVATAR = false
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = ***/log
[oauth2]
JWT_SECRET = ***
2020/02/25 18:46:37 [I] Log Mode: File(Info)
2020/02/25 18:46:37 [I] XORM Log Mode: File(Info)
2020/02/25 18:46:37 [I] Cache Service Enabled
2020/02/25 18:46:37 [I] Session Service Enabled
2020/02/25 18:46:37 [I] Mail Service Enabled
2020/02/25 18:46:37 [I] Register Mail Service Enabled
2020/02/25 18:46:37 [I] Notify Mail Service Enabled
2020/02/25 18:46:37 [I] Migration: move team units to team_unit table
2020/02/25 18:46:37 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: Insert team units: UNIQUE constraint failed: team_unit.team_id, team_unit.type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment