-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathexample.yml
91 lines (83 loc) · 1.68 KB
/
example.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# environment variables
# default: development
environment: GO_ENV
# default: ./test_config.yml
config_file: GO_CONFIG
# environments
development:
log_file: ./log/server.log
port: 8080
# local for sid generation
sid_redis:
db: 1
port: 6379
# fingerprinting etc.
redis:
host: localhost
db: 1
port: 6379
amqp:
user: guest
pass: guest
host: localhost
port: 5672
mailFrom: [email protected]
mailPasswd: SuperSecret13
mailServer: smtp.example.com
testing:
log_file: ./log/server.log
port: 8080
redis:
host: localhost
db: 1
port: 6379
master_redis:
host: localhost
db: 1
port: 6379
amqp:
user: guest
pass: guest
host: localhost
port: 5674
mailFrom: [email protected]
mailPasswd: SuperSecret13
mailServer: smtp.example.com
staging:
log_file: ./log/server.log
port: 8080
redis:
host: localhost
db: 1
port: 6379
master_redis:
host: localhost
db: 1
port: 6379
amqp:
user: user
pass: pass
host: localhost
port: 5672
mailFrom: [email protected]
mailPasswd: SuperSecret13
mailServer: smtp.example.com
production:
log_file: ./log/server.log
port: 8080
redis:
host: localhost
db: 1
port: 6379
master_redis:
host: host
db: 1
port: 6379
amqp:
user: user
pass: pass
host: localhost
port: 5672
mailFrom: [email protected]
mailPasswd: SuperSecret13
mailServer: smtp.example.com