| 1 |
port: 3002 |
| 2 |
enableConfigLogging: false |
| 3 |
enableBadRequestDetails: true |
| 4 |
logger: |
| 5 |
console: |
| 6 |
enable: true |
| 7 |
level: debug |
| 8 |
pretty: false |
| 9 |
singleLine: false |
| 10 |
translateTime: true |
| 11 |
appDomain: localhost |
| 12 |
environment: production |
| 13 |
auth: |
| 14 |
secret: change-this-jwt-secret |
| 15 |
internalToken: change-this-secret-token |
| 16 |
apiKey: |
| 17 |
prefix: ai_ |
| 18 |
redis: |
| 19 |
host: redis |
| 20 |
port: 6379 |
| 21 |
username: default |
| 22 |
password: password |
| 23 |
mongodb: |
| 24 |
uri: mongodb://admin:password@mongodb:27017/?authSource=admin&directConnection=true |
| 25 |
dbName: aitoearn |
| 26 |
redlock: |
| 27 |
redis: |
| 28 |
host: redis |
| 29 |
port: 6379 |
| 30 |
username: default |
| 31 |
password: password |
| 32 |
ttl: 300 |
| 33 |
retryDelay: 1000 |
| 34 |
retryCount: 3 |
| 35 |
assets: |
| 36 |
region: us-east-1 |
| 37 |
accessKeyId: rustfsadmin |
| 38 |
secretAccessKey: rustfsadmin |
| 39 |
bucketName: aitoearn |
| 40 |
endpoint: http://rustfs.local:9000 |
| 41 |
cdnEndpoint: http://localhost:8080/oss |
| 42 |
signExpires: 300 |
| 43 |
forcePathStyle: true |
| 44 |
publicEndpoint: http://localhost:9000 |
| 45 |
provider: s3 |
| 46 |
aiClient: |
| 47 |
baseUrl: http://aitoearn-ai:3010 |
| 48 |
token: change-this-secret-token |
| 49 |
channel: |
| 50 |
channelDb: |
| 51 |
uri: mongodb://admin:password@mongodb:27017/?authSource=admin&directConnection=true |
| 52 |
dbName: aitoearn_channel |
| 53 |
shortLink: |
| 54 |
baseUrl: https://localhost/api/shortLink/ |
| 55 |
bilibili: |
| 56 |
status: available |
| 57 |
clientId: "" |
| 58 |
clientSecret: "" |
| 59 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/bilibili/callback |
| 60 |
logoUrl: https://assets.aitoearn.ai/platforms/bilibili.svg |
| 61 |
douyin: |
| 62 |
status: hidden |
| 63 |
clientId: "" |
| 64 |
clientSecret: "" |
| 65 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/douyin/callback |
| 66 |
logoUrl: https://assets.aitoearn.ai/platforms/douyin.svg |
| 67 |
scopes: |
| 68 |
- user.info.basic |
| 69 |
- video.create |
| 70 |
- video.data |
| 71 |
authType: qrcode |
| 72 |
miniApp: |
| 73 |
clientId: douyin-miniapp-client-id |
| 74 |
clientSecret: douyin-miniapp-client-secret |
| 75 |
sandbox: false |
| 76 |
facebook: |
| 77 |
status: available |
| 78 |
clientId: "" |
| 79 |
clientSecret: "" |
| 80 |
graphApiVersion: v25.0 |
| 81 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/facebook/callback |
| 82 |
logoUrl: https://assets.aitoearn.ai/platforms/facebook.svg |
| 83 |
webhookVerifyToken: "" |
| 84 |
scopes: |
| 85 |
- public_profile |
| 86 |
- pages_show_list |
| 87 |
- pages_manage_posts |
| 88 |
- pages_read_engagement |
| 89 |
- pages_read_user_content |
| 90 |
- pages_manage_engagement |
| 91 |
- read_insights |
| 92 |
kwai: |
| 93 |
status: available |
| 94 |
clientId: "" |
| 95 |
clientSecret: "" |
| 96 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/KWAI/callback |
| 97 |
logoUrl: https://assets.aitoearn.ai/platforms/kwai.svg |
| 98 |
scopes: |
| 99 |
- user_info |
| 100 |
- user_video_publish |
| 101 |
- user_video_info |
| 102 |
instagram: |
| 103 |
status: available |
| 104 |
clientId: "" |
| 105 |
clientSecret: "" |
| 106 |
graphApiVersion: v25.0 |
| 107 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/instagram/callback |
| 108 |
logoUrl: https://assets.aitoearn.ai/platforms/instagram.svg |
| 109 |
webhookVerifyToken: "" |
| 110 |
scopes: |
| 111 |
- instagram_business_basic |
| 112 |
- instagram_business_manage_comments |
| 113 |
- instagram_business_content_publish |
| 114 |
- instagram_business_manage_insights |
| 115 |
linkedin: |
| 116 |
status: available |
| 117 |
clientId: "" |
| 118 |
clientSecret: "" |
| 119 |
redirectUri: https://localhost/api/plat/meta/auth/back |
| 120 |
logoUrl: https://assets.aitoearn.ai/platforms/linkedin.svg |
| 121 |
restVersion: "202605" |
| 122 |
webhookSecret: "" |
| 123 |
scopes: |
| 124 |
- openid |
| 125 |
- profile |
| 126 |
- email |
| 127 |
- w_member_social |
| 128 |
googleBusiness: |
| 129 |
status: hidden |
| 130 |
logoUrl: https://assets.aitoearn.ai/platforms/google-business.svg |
| 131 |
pinterest: |
| 132 |
status: available |
| 133 |
clientId: "" |
| 134 |
clientSecret: "" |
| 135 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/pinterest/callback |
| 136 |
logoUrl: https://assets.aitoearn.ai/platforms/pinterest.svg |
| 137 |
baseUrl: https://api.pinterest.com |
| 138 |
scopes: |
| 139 |
- boards:read |
| 140 |
- boards:write |
| 141 |
- pins:read |
| 142 |
- pins:write |
| 143 |
- user_accounts:read |
| 144 |
rednote: |
| 145 |
status: available |
| 146 |
logoUrl: https://assets.aitoearn.ai/platforms/rednote.svg |
| 147 |
appKey: rednote-app-key |
| 148 |
appSecret: rednote-app-secret |
| 149 |
accessTokenUrl: https://edith.xiaohongshu.com/api/sns/v1/ext/access/token |
| 150 |
threads: |
| 151 |
status: available |
| 152 |
clientId: "" |
| 153 |
clientSecret: "" |
| 154 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/threads/callback |
| 155 |
logoUrl: https://assets.aitoearn.ai/platforms/threads.svg |
| 156 |
scopes: |
| 157 |
- threads_basic |
| 158 |
- threads_content_publish |
| 159 |
- threads_read_replies |
| 160 |
- threads_manage_replies |
| 161 |
- threads_manage_insights |
| 162 |
- threads_location_tagging |
| 163 |
- threads_delete |
| 164 |
tiktok: |
| 165 |
status: available |
| 166 |
clientId: "" |
| 167 |
clientSecret: "" |
| 168 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/tiktok/callback |
| 169 |
logoUrl: https://assets.aitoearn.ai/platforms/tiktok.svg |
| 170 |
scopes: |
| 171 |
- user.info.basic |
| 172 |
- user.info.profile |
| 173 |
- user.info.stats |
| 174 |
- video.upload |
| 175 |
- video.publish |
| 176 |
- video.list |
| 177 |
pullFromUrlAllowedPrefixes: [] |
| 178 |
twitter: |
| 179 |
status: available |
| 180 |
clientId: "" |
| 181 |
clientSecret: "" |
| 182 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/twitter/callback |
| 183 |
logoUrl: https://assets.aitoearn.ai/platforms/twitter.svg |
| 184 |
scopes: |
| 185 |
- tweet.read |
| 186 |
- tweet.write |
| 187 |
- tweet.moderate.write |
| 188 |
- users.read |
| 189 |
- offline.access |
| 190 |
- like.read |
| 191 |
- like.write |
| 192 |
- follows.read |
| 193 |
- follows.write |
| 194 |
- media.write |
| 195 |
wechat: |
| 196 |
official: |
| 197 |
status: coming_soon |
| 198 |
logoUrl: https://assets.aitoearn.ai/platforms/wechat-official.svg |
| 199 |
channels: |
| 200 |
status: available |
| 201 |
appId: "" |
| 202 |
appSecret: "" |
| 203 |
token: aitoearn |
| 204 |
encodingAESKey: "" |
| 205 |
redirectUri: https://localhost/api/platcallback |
| 206 |
logoUrl: https://assets.aitoearn.ai/platforms/wechat-channels.svg |
| 207 |
youtube: |
| 208 |
status: available |
| 209 |
clientId: "" |
| 210 |
clientSecret: "" |
| 211 |
redirectUri: https://localhost/api/v2/channels/accounts/auth/youtube/callback |
| 212 |
logoUrl: https://assets.aitoearn.ai/platforms/youtube.svg |
| 213 |
webhookVerifyToken: "" |
| 214 |
scopes: |
| 215 |
- https://www.googleapis.com/auth/youtube |
| 216 |
- https://www.googleapis.com/auth/youtube.upload |
| 217 |
- https://www.googleapis.com/auth/userinfo.profile |
| 218 |
- https://www.googleapis.com/auth/userinfo.email |
| 219 |
relay: |
| 220 |
serverUrl: https://aitoearn.ai/api |
| 221 |
apiKey: "" |
| 222 |
callbackUrl: http://localhost:8080/api/v2/channels/relay/callback |
| 223 |
|