forked from hpyhacking/peatio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml.example
86 lines (71 loc) · 2.26 KB
/
application.yml.example
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
defaults: &defaults
# sites hosts
# session expire seconds
# admin role account
URL_HOST: peatio.dev
URL_SCHEMA: http
SESSION_EXPIRE: 60
API_WHITELIST: []
ADMIN: '[email protected],[email protected]'
TIMEZONE: 'Beijing'
REDIS_URL: redis://127.0.0.1:6379
# below settings only in production env
# system notify mail settings
# --------------------------------------------------------------
SMTP_PORT: YOUR_SMTP_PORT
SMTP_DOMAIN: YOUR_SMTP_DOMAIN
SMTP_ADDRESS: YOUR_SMTP_ADDRESS
SMTP_USERNAME: YOUR_SMTP_USERNAME
SMTP_PASSWORD: YOUR_SMTP_PASSWORD
SMTP_AUTHENTICATION: plain # could be plain, login or cram_md5
SUPPORT_MAIL: [email protected]
SYSTEM_MAIL_FROM: [email protected]
SYSTEM_MAIL_TO: [email protected]
OPERATE_MAIL_TO: [email protected]
# WebSocket Streaming API settings
WEBSOCKET_HOST: 0.0.0.0
WEBSOCKET_PORT: 8080
# Uncomment below to enable secure WebSocket (wss)
#WEBSOCKET_SSL_KEY: 'your_server.key'
#WEBSOCKET_SSL_CERT: 'your_server.crt'
# pusher settings
# --------------------------------------------------------------
# peatio dependence Pusher (http://pusher.com) service
# you can change your key for production environment.
# we support development key and secret
# uncomment below line only development or test
#
# PUSHER_APP: 65910
# PUSHER_KEY: 50d404c35db92d736a57
# PUSHER_SECRET: 75d6e6685209cc60cc4d
PUSHER_APP: YOUR_PUSHER_APP
PUSHER_KEY: YOUR_PUSHER_KEY
PUSHER_SECRET: YOUR_PUSHER_SECRET
PUSHER_HOST: api.pusherapp.com
PUSHER_PORT: 80
PUSHER_WS_PORT: 80
PUSHER_WSS_PORT: 443
PUSHER_ENCRYPTED: true
# twilio setting
# --------------------------------------------------------------
# https://github.com/twilio/twilio-ruby
#
TWILIO_NUMBER: YOUR_TWILIO_NUMBER
TWILIO_SID: YOUR_TWILIO_SID
TWILIO_TOKEN: YOUR_TWILIO_TOKEN
# Third party auth
# Weibo
# --------------------------------------------------------------
WEIBO_AUTH: on # on/off
WEIBO_KEY: 3820920586
WEIBO_SECRET: 2d6174dc698e86860c75d75b1e8a01c8
# chat setting
# --------------------------------------------------------------
# Do you want chat feature in your exchange ?
# send mail to [email protected]
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults