Browse Source

上傳檔案到 ''

fatwolf 2 years ago
parent
commit
67e0ba00bc
1 changed files with 51 additions and 0 deletions
  1. 51 0
      app.ini

+ 51 - 0
app.ini

@@ -0,0 +1,51 @@
+BRAND_NAME = Gogs
+RUN_USER   = root
+RUN_MODE   = prod
+
+[database]
+TYPE     = mysql
+HOST     = 127.0.0.1:3306
+NAME     = git
+USER     = root
+PASSWORD = Gold@53743001
+SSL_MODE = disable
+PATH     = /home/gs1802/gogs/data/gogs.db
+
+[repository]
+ROOT = /home/gs1802/gogs-repositories
+
+[server]
+DOMAIN           = localhost
+HTTP_PORT        = 3000
+EXTERNAL_URL     = http://localhost:3000/
+DISABLE_SSH      = false
+SSH_PORT         = 22
+START_SSH_SERVER = false
+OFFLINE_MODE     = false
+
+[mailer]
+ENABLED = false
+
+[service]
+REGISTER_EMAIL_CONFIRM = false
+ENABLE_NOTIFY_MAIL     = false
+DISABLE_REGISTRATION   = false
+ENABLE_CAPTCHA         = true
+REQUIRE_SIGNIN_VIEW    = false
+
+[picture]
+DISABLE_GRAVATAR        = false
+ENABLE_FEDERATED_AVATAR = false
+
+[session]
+PROVIDER = file
+
+[log]
+MODE      = file
+LEVEL     = Info
+ROOT_PATH = /home/gs1802/gogs/log
+
+[security]
+INSTALL_LOCK = true
+SECRET_KEY   = i1HcejkdIJ3v2TQ
+