-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
65 lines (50 loc) · 1.13 KB
/
.env
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
# 注释
name=goal
app.key=dQcxsKvBZKNfWivwnhKlDwvseguknBZPEiiDRQlIatjKLLpbzK
app.env=local
http.host=0.0.0.0
http.port=8008
sqlite.database=/Users/qbhy/project/go/goal-web/goal/example/database/db.sqlite
queue.connection=nsq
queue.kafka.brokers=localhost:9092
queue.nsq.address=localhost:49162
db.connection=sqlite
db.host=localhost
db.port=3308
db.database=goal
db.username=root
db.password=123456
db.pgsql.host=localhost
db.pgsql.port=55433
db.pgsql.database=postgres
db.pgsql.username=postgres
db.pgsql.password=123456
redis.host=hsy
redis.port=6379
#redis.password=123456
redis.cache.host=hsy
redis.cache.port=6379
redis.cache.db=1
# 缓存配置
cache.driver=redis
cache.connection=cache
cache.prefix=redis_
# 哈希配置
hashing.driver=bcrypt
hashing.cost=14
hashing.salt=goal
# 自定义哈希
hashing.hashers.md5.driver=md5
hashing.hashers.md5.salt=goal
# 文件系统配置
filesystem.driver=local
filesystem.root=/Users/qbhy/project/go/goal/
filesystem.perm=0777
qiniu.private=false
qiniu.bucket=aa
qiniu.domain=https://xxx.xxx.com
qiniu.access_key=
qiniu.secret_key=
# session 配置
session.id=goal
session.name=goal_session: