forgeplus/config/configuration.yml.example

73 lines
1.6 KiB
Plaintext

default: &default
platform_url: 'http://localhost:3000'
is_local: true
wechat:
appid: '123'
secret: '123'
weapp:
appid: '123'
secret: '123'
oauth:
qq:
appid: 'test'
secret: 'test123456'
wechat:
appid: 'test'
secret: 'test'
scope: 'snsapi_login'
base_url: 'https://api.weixin.qq.com'
aliyun_vod:
access_key_id: 'test'
access_key_secret: 'test'
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
cate_id: '-1'
callback_url: 'callback_url'
signature_key: 'test12345678'
educoder:
client_id: 'test'
client_secret: 'test123456'
base_url: 'https://test.a.com'
redirect_uri: 'https://test.a.com/api/auth/educoder/callback'
gitea:
access_key_id: <%= ENV.fetch("GITEA_USER") { 'root' } %>
access_key_secret: <%= ENV.fetch("GITEA_PWD") { '123456' } %>
domain: <%= ENV.fetch("GITEA_URL") { 'http://gitea:3000' } %>
base_url: '/api/v1'
admin_token: '123123'
hat_base_url: '/api/hat'
accelerator:
access_key_id: ''
access_key_secret: ''
access_admin_uid: 1
domain: 'https://testgit.trustie.net'
base_url: '/api/v1'
notice:
platform: ''
write_domain: ''
read_domain: ''
base_url: ''
trace:
domain: ''
base_url: ''
cookie_domain: '.gitlink.org.cn'
view_domain: 'https://cjn.gitlink.org.cn'
forum:
domain: ''
base_url: '/api'
# 区块链相关配置
blockchain:
api_url: 'blockchain service url'
production:
<<: *default
development:
<<: *default
test:
<<: *default