defaults: &defaults
#  platform_url: 'http://47.96.87.25:81'
  platform_url: 'https://testforgeplus.osredm.com'
  admin_statistics_url: 'https://test-statistics.osredm.com/admin/index'
  weapp:
    appid: 'wx2402d86a6b534f77'
    secret: 'ae30b06b66cefbb11f0b05e94385ca87'
  wechat:
    appid: 'wx0955caba88bc37eb'
    secret: '6cc80eef2e0b6f43fbf6c8b96b812858'
  oauth:
    qq:
      appid: '101508858'
      secret: '9fbd7cabe2baab33ddf9619de552db0a'
    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.osredm.com/api/auth/educoder/callback'
    gitlink:
      client_id: 'e9ce4d5ba1698d6f7d01d8ee2959776c7a6d743ebe94da2341e288fd2fbf60aa'
      client_secret: '6ff84dd75eddd859c5bd0e7a791b58bc5ad1ba4fbb30bc9db37cb0baf9f33012'
      base_url: 'https://testforgeplus.osredm.com'
      redirect_uri: 'https://testforgeplus.osredm.com/api/auth/educoder/callback'
    openkylin:
      client_id: 'd98nktubIMZj2oh9s0gyc8Pw0IulS7OihwEjG5TgzfCpV1U1lKWKnLlXLcwa14qQ'
      client_secret: 'CfSUp3f97nBEU6xAtGKffZULM2NYTtrdCpcuSIZCxHvwLfFifD6FET5yMB0N9uFi'
      base_url: 'https://ids.openkylin.top'
      redirect_uri: 'http://111.8.36.180:8000/api/auth/openkylin/callback'
  oauth_educoder:
    access_key_secret: '0ea0c9926b0c80f285c393725ff65614'
    callback_url_host: 'testforgeplus.osredm.com'
  chain_base: "http://106.54.84.172:8000"
  ci_db_server_trustie:
    adapter: mysql2
    host: "106.75.110.152"
    port: "43306"
    database: trustie_drone
    pool: 5
    username: "root"
    password: "R?X:FLI6u,7;"
  trustie_drone:
    ip_num: "113.31.153.2"
    secret: "Dron_123123'"
    client_id: '2f445743-6d32-477c-963c-a31240c2927a'
    admin_application_id: 184
    admin_token: 'QcOBD2DMexbGXaYj9Toou7X13PEOHMtB'
    email: 'drone@admin.com'
    avatar_url: 'http://testgitea2.osredm.com/user/avatar/root/-1'
  gitea:
    access_key_id: 'root'
    access_key_secret: '_Trustie_10010'
    domain: 'https://testgitea2.osredm.com'
    base_url: '/api/v1'
    accelerator:
      access_key_id: 'testforgeroot'
      access_key_secret: 'testforge@root123'
      access_admin_uid: 44619
      domain: 'https://mirror.osredm.com'
      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'
    forum:
      domain: 'https://forum.osredm.com/'
      base_url: '/api'
    trace:
      domain: 'http://153.35.182.228:8010'
      base_url: '/v1'
    ci_db_server:
      adapter: mysql2
      database: drone
      port: 43306
      host: 106.75.110.152
      username: root
      password: "R?X:FLI6u,7;"
      encoding: utf8

development:
  <<: *defaults

test:
  <<: *defaults

production:
  <<: *defaults

