blob: 7dc380028dadeef50408d80ec865e9774c204219 (
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
|
# Copy this file to ./data/forgejo/gitea/conf/app.ini
# TODO: Copy this to data directory automatically.
APP_NAME = Forgejo, loved by crupest.
RUN_MODE = prod
WORK_PATH = /data/gitea
[server]
HTTP_ADDR = 0.0.0.0
HTTP_PORT = 3000
ROOT_URL = https://git.${CRUPEST_DOMAIN}
DISABLE_SSH = true
LFS_START_SERVER = true
[database]
DB_TYPE = sqlite3
[security]
INSTALL_LOCK = false
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
[service]
DISABLE_REGISTRATION = false
ALLOW_ONLY_INTERNAL_REGISTRATION = true
[mailer]
ENABLED = true
PROTOCOL = smtp
SMTP_ADDR = mail.${CRUPEST_DOMAIN}
SMTP_PORT = 465
USER = ${CRUPEST_FORGEJO_MAILER_USER}
PASSWD = ${CRUPEST_FORGEJO_MAILER_PASSWD}
[log]
MODE = console,file
[cron]
ENABLED = true
[actions]
ENABLED = false
|