forgeplus/config/configuration.yml.example

109 lines
2.5 KiB
Plaintext

default: &default
# 用户登入的时候设置/登出的时候清空
autologin_cookie_name: 'autologin_gitlink'
platform_url: 'http://localhost:3000'
sign_key: ''
#附件上传路径
attachment_folder: '/tmp'
# webssh相关
tomcat_webssh: 'https://testwebssh.gitlink.org.cn'
webssh_username: ''
webssh_password: ''
# git服务地址
git_address_ip: ''
#新版git服务地址
git_address_domain: ''
# git管理员用户名问题, 适用于git客户端的操作
git_username: ''
git_password: ''
ucloud:
public_key: ''
private_key: ''
public_bucket: ''
public_bucket_host: ''
public_cdn_host: ''
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: 'e9ce4d5ba1698d6f7d01d8ee2959776c7a6d743ebe94da2341e288fd2fbf60aa'
client_secret: '6ff84dd75eddd859c5bd0e7a791b58bc5ad1ba4fbb30bc9db37cb0baf9f33012'
base_url: 'https://test-data.educoder.net'
redirect_uri: 'https://testforgeplus.trustie.net/api/auth/educoder/callback'
gitea:
access_key_id: ''
access_key_secret: ''
domain: 'https://testgit.trustie.net'
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: ''
forum:
domain: ''
base_url: '/api'
# 区块链相关配置
blockchain:
api_url: 'blockchain service url'
production:
<<: *default
# 中间层地址
cloud_bridge: ''
cloud_tomcat_php: ''
bridge_secret_key: ''
cookie_domain: '.gitlink.org.cn'
attachment_folder: ''
host_name: 'https://testeduplus2.gitlink.org.cn'
old_edu_host: 'http://testbdweb.gitlink.org.cn'
development:
<<: *default
cloud_bridge: ''
cloud_tomcat_php: ''
host_name: ''
old_edu_host: ''
test:
<<: *default
cloud_tomcat_php: 'http://10.9.63.225'
host_name: 'https://testeduplus2.gitlink.org.cn'
old_edu_host: 'http://testbdweb.gitlink.org.cn'