forgeplus/config/configuration.yml.example

113 lines
3.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

default:
platform_url: 'http://172.20.32.201:4000'
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.exmail.qq.com
port: 25
domain: smtp.qq.com
authentication: :login
user_name: "notification@trustie.org"
password: "mAZc9EWbe2Kawaqo"
attachments_storage_path:
autologin_cookie_name: "autologin_trustie"
autologin_cookie_path:
autologin_cookie_secure:
sms_apikey: "2affbf2ff83f9810512622ec83bccd4f"
# client_id, client_secret. 用于提供给OpenI认证服务器建立信任关系
client_id: '0d2f5fcc9d3ddf909e933aa9522771f5821449cedf43a503aa7e17e71c94bb6d'
client_secret: '008d6e29b2026dbf02ac07d7565cbafde1a68491999548f4a2d894a36628f25f'
openi_domain: 'https://openi.org.cn'
educoder_domain: 'http://testbdweb.educoder.net'
defaults: &defaults
platform_url: 'http://172.20.32.201:4000'
admin_statistics_url: 'https://test-statistics.trustie.net/admin/index'
aliyun_vod:
access_key_id: 'test'
access_key_secret: 'test'
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
cate_id: '-1'
callback_url: 'http://47.96.87.25:48080/api/callbacks/aliyun_vod.json'
signature_key: 'test12345678'
weapp:
appid: 'wx2402d86a6b534f77'
secret: 'ae30b06b66cefbb11f0b05e94385ca87'
oauth:
qq:
appid: '102031445'
secret: 'ENJ2YqujJekbCYnx'
wechat:
appid: 'wx6b119e2d829c13fa'
secret: '0244ac003ea4d01fc768245839a97037'
scope: 'snsapi_login'
base_url: 'https://api.weixin.qq.com'
educoder:
client_id: 'e9ce4d5ba1698d6f7d01d8ee2959776c7a6d743ebe94da2341e288fd2fbf60aa'
client_secret: '6ff84dd75eddd859c5bd0e7a791b58bc5ad1ba4fbb30bc9db37cb0baf9f33012'
base_url: 'https://test-data.educoder.net'
redirect_uri: 'https://testforgeplus.trustie.net/api/auth/educoder/callback'
github:
appid: '51ae18aa2da35fba9094'
secret: 'e29e63645f7eae7dc5b0de4cbb9d67e2f0126e9e'
gitee:
appid: '22e3b46fc13a70dee06d79457dc197375198c85ece266f6a051fbaa16ebaa84e'
secret: 'db61457cb683c3ee35de48bf8daa0ea51867818cf75e2d06519f0a44fe5cd5b5'
oauth_educoder:
access_key_secret: '0ea0c9926b0c80f285c393725ff65614'
callback_url_host: 'testforgeplus.trustie.net'
chain_base: "http://106.54.84.172:8000"
blockchain:
api_url: 'http://8.130.51.51:3023/gitlink/fiscobcos'
sonarqube:
url: ''
secret: ''
wechat:
appid: 'wx0955caba88bc37eb'
secret: '6cc80eef2e0b6f43fbf6c8b96b812858'
gitea:
access_key_id: 'root'
access_key_secret: '_Trustie_10010'
admin_token: '102860de9aecc1419266ea87094a3b68916c1795'
domain: 'http://172.20.32.201:10082'
base_url: '/api/v1'
hat_base_url: '/api/hat'
accelerator:
access_key_id: 'testforgeroot'
access_key_secret: 'testforge@root123'
access_admin_uid: 44619
domain: 'https://mirror.trustie.net'
base_url: '/api/v1'
notice:
platform: 'gitlink'
write_domain: 'http://106.75.31.211:58082'
read_domain: 'http://106.75.31.211:58080'
base_url: '/gns'
trace:
#domain: 'http://153.35.182.228:8010'
#domain: 'http://153.35.182.228:8811'
domain: 'http://58.214.1.186:8091'
base_url: '/v1'
cookie_domain: '.trustie.net'
view_domain: 'https://cjntest.trustie.net'
forum:
domain: 'https://testforum.trustie.net'
base_url: '/api'
getway:
domain: 'https://testgetway.gitlink.org.cn'
base_url: '/api'
development:
<<: *defaults
#同步到trustie的token和url
sync_token: "34c82f51e0b699d9d16d70fd6497c9b1e4821d6ea3e872558a6537a091076b8e"
sync_url: "http://127.0.0.1:3000"
test:
<<: *defaults
production:
<<: *defaults