forked from ruby-china/homeland
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
80 lines (66 loc) · 1.71 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
65
66
67
68
69
70
71
72
73
74
75
76
# |=================================================================|
# | DO NOT CHANGE THIS FILE, YOU CAN OVERRIDE CONFIGS in .env.local |
# | 不要修改此文件,你可以在 .env.local 里面用相同的配置项覆盖这个文件的配置 |
# |=================================================================|
RAILS_ENV=production
RAILS_LOG_TO_STDOUT=true
# [Database Config]
# DATABASE_URL=postgres://localhost:5432/homeland
DATABASE_POOL=64
REDIS_URL=redis://localhost:6379/1
ELASTICSEARCH_HOST=localhost:9200
MEMCACHED_HOST=localhost:11211
# [Application Config]
# Configuration Document:
# http://gethomeland.com/docs/configuration/config-file/
secret_key_base=
app_name=App Name
modules=all
profile_fields=all
domain=localhost
https=false
asset_host=
admin_emails=admin@admin.com
google_analytics_key=
# [Puma]
# application server config
# number of processes for Puma & Nginx
workers=2
min_threads=8
max_threads=16
# [Sidekiq]
sidekiq_threads=20
# [Rack Limit]
rack_attack=false
rack_attack.limit=
rack_attack.period=
# [Email Server]
mailer_provider=smtp
mailer_sender=no-reply@localhost
mailer_options.address=
mailer_options.port=
mailer_options.domain=
mailer_options.user_name=
mailer_options.password=
mailer_options.authentication=plain
mailer_options.enable_starttls_auto=true
# [OAuth]
github_token=
github_secret=
# [SSO]
# http://gethomeland.com/docs/sso/as-client/
# http://gethomeland.com/docs/sso/as-provider/
sso.enable=false
sso.enable_provider=false
sso.url=
sso.secret=
# [Upload Config]
# can be upyun/aliyun/file
# http://gethomeland.com/docs/configuration/upload/
upload_provider=file
upload_access_id=
upload_access_secret=
upload_bucket=
upload_aliyun_internal=
upload_aliyun_area=
upload_url=