|
- default: &default
- platform_url: 'http://localhost:3000'
- 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_DOMAIN", 'test') %>
- access_key_secret: <%=ENV.fetch("GITEA_DOMAIN", 'test123123') %>
- domain: <%=ENV.fetch("GITEA_DOMAIN", 'https://gitea.test.com') %>
- 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'
- sonarqube:
- url: ''
- secret: ''
- checkout: ''
- scanner: ''
- production:
- <<: *default
-
- development:
- <<: *default
-
- test:
- <<: *default
|