summaryrefslogtreecommitdiffstats
path: root/snap/helpers/app.ini
blob: dd7fa3c88fc2828e763714333a8e80cfb5f55fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
APP_NAME    = Gitea: Go Git Service
RUN_USER    = root
RUN_MODE    = prod
CUSTOM_PATH = SNAP_DIR_DATA/custom

[server]
DOMAIN            = localhost
PROTOCOL          = http
HTTP_PORT         = 3001
ROOT_URL          = http://localhost:3001/
DISABLE_SSH       = false
SSH_PORT          = 22
STATIC_ROOT_PATH  = SNAP_DIR_DATA/static
APP_DATA_PATH     = SNAP_DIR_COMMON/data
SSH_ROOT          = SNAP_DIR_COMMON/ssh
SSH_KEY_TEST_PATH = SNAP_DIR_DATA/sshkeytest

[database]
DB_TYPE  = sqlite3
PATH     = SNAP_DIR_COMMON/gitea.db

[repository]
ROOT = SNAP_DIR_COMMON/repositories/data

[repository.upload]
ENABLED = true
ALLOWED_TYPES = "image/jpeg|image/png"
FILE_MAX_SIZE = 10
MAX_FILES = 5
TEMP_PATH = SNAP_DIR_COMMON/repositories/tmp

[release.attachment]
PATH = SNAP_DIR_COMMON/releases/attachments

[smartypants]
ENABLED = true

[indexer]
ISSUE_INDEXER_PATH = SNAP_DIR_COMMON/indexers/issues.bleve


[mailer]
ENABLED = false

[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL     = false
DISABLE_REGISTRATION   = false
ENABLE_CAPTCHA         = false
REQUIRE_SIGNIN_VIEW    = false

[picture]
AVATAR_UPLOAD_PATH      = SNAP_DIR_COMMON/pictures/avatars
DISABLE_GRAVATAR        = true
ENABLE_FEDERATED_AVATAR = false

[attachment]
PATH = SNAP_DIR_COMMON/attachments

[session]
PROVIDER = memory

[log]
MODE      = file
LEVEL     = Trace
ROOT_PATH = SNAP_DIR_COMMON/log