Browse Source

Define all default settings except for mailer

Piotr Orzechowski 1 year ago
parent
commit
7322791a3c
1 changed files with 25 additions and 6 deletions
  1. 25
    6
      files/etc/gitea/default.ini

+ 25
- 6
files/etc/gitea/default.ini View File

@@ -1,4 +1,5 @@
1 1
 RUN_MODE = prod
2
+RUN_USER = git
2 3
 
3 4
 [repository]
4 5
 ROOT               = /data/git/repositories
@@ -11,8 +12,16 @@ TEMP_PATH = /data/gitea/uploads
11 12
 SHOW_USER_EMAIL = false
12 13
 
13 14
 [server]
14
-APP_DATA_PATH = /data/gitea
15
-LANDING_PAGE  = explore
15
+APP_DATA_PATH    = /data/gitea
16
+LANDING_PAGE     = explore
17
+SSH_DOMAIN       = localhost
18
+DOMAIN           = localhost
19
+HTTP_PORT        = 3000
20
+ROOT_URL         = http://localhost:3000/
21
+DISABLE_SSH      = false
22
+SSH_PORT         = 22
23
+LFS_START_SERVER = false
24
+OFFLINE_MODE     = false
16 25
 
17 26
 [ssh.minimum_key_sizes]
18 27
 ED25519 = 256
@@ -28,15 +37,23 @@ PATH    = /data/gitea/gitea.db
28 37
 ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
29 38
 
30 39
 [service]
31
-DEFAULT_KEEP_EMAIL_PRIVATE = true
32
-DISABLE_REGISTRATION       = true
40
+DEFAULT_KEEP_EMAIL_PRIVATE        = true
41
+DISABLE_REGISTRATION              = true
42
+REGISTER_EMAIL_CONFIRM            = false
43
+ENABLE_NOTIFY_MAIL                = false
44
+ENABLE_CAPTCHA                    = false
45
+REQUIRE_SIGNIN_VIEW               = false
46
+DEFAULT_ALLOW_CREATE_ORGANIZATION = true
47
+NO_REPLY_ADDRESS                  = noreply.example.org
33 48
 
34 49
 [session]
35 50
 PROVIDER_CONFIG = /data/gitea/sessions
51
+PROVIDER        = file
36 52
 
37 53
 [picture]
38
-AVATAR_UPLOAD_PATH = /data/gitea/avatars
39
-DISABLE_GRAVATAR   = true
54
+AVATAR_UPLOAD_PATH      = /data/gitea/avatars
55
+DISABLE_GRAVATAR        = true
56
+ENABLE_FEDERATED_AVATAR = false
40 57
 
41 58
 [attachment]
42 59
 PATH = /data/gitea/attachments
@@ -44,9 +61,11 @@ PATH = /data/gitea/attachments
44 61
 [log]
45 62
 ROOT_PATH = /data/gitea/log
46 63
 LEVEL     = Warn
64
+MODE      = file
47 65
 
48 66
 [other]
49 67
 SHOW_FOOTER_VERSION = false
50 68
 
51 69
 [openid]
52 70
 ENABLE_OPENID_SIGNIN = false
71
+ENABLE_OPENID_SIGNUP = false

Loading…
Cancel
Save