forked from PGYER/codefever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.template.yaml
executable file
·49 lines (41 loc) · 959 Bytes
/
env.template.yaml
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
# production setting
# set running enviroment
# value: development | testing | production
env: 'production'
# release number setting
# value: 14-digit number
releaseNumber: '00000000000001'
# mysql configuration (DO NOT CHANGE mysql/db)
mysql:
host: localhost
port: 3306
username: root
password: 123456
db: codefever_community
# session setting
session:
domain:
name: codefever_community
key: <session_key>
# totp settings (for verification code generating)
totp:
salt: <totp_salt_for_codefever>
# path
path:
file: file-storage
git: git-storage
# cli
cli:
git: /usr/local/git/bin/git
shell: /usr/local/git/bin/git-shell
http: /usr/local/git/libexec/git-core/git-http-backend
# users
users:
www: git
git: git
# gateway
gateway:
token: <codefever_community_api_token>
hooks: http://127.0.0.1/apiv1/internal/hooks
authHTTP: http://127.0.0.1/apiv1/internal/authHTTP
authSSH: http://127.0.0.1/apiv1/internal/authSSH