52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[ocr]
|
|
url = "https://devocr.likedream.xyz"
|
|
|
|
[database]
|
|
type = "mysql"
|
|
dsn = "test_likedream_go:EpXckXmxawDEQGxJ@tcp(database.out:3306)/test_likedream_go?parseTime=true"
|
|
dsn2 = "host=database.out user=dev password=JPmKjmpcaG3EYAJZ dbname=dev port=5432 sslmode=disable TimeZone=Asia/Shanghai"
|
|
# host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai
|
|
[server]
|
|
port = 8090
|
|
url = "https://devocr.likedream.xyz"
|
|
openapiPath= "/api.json"
|
|
swaggerPath= "/swagger"
|
|
emailConfirmBaseUrl = "http://localhost:3200/confirm/"
|
|
emailResetPasswordUrl = "http://localhost:3200/reset-password/"
|
|
balanceMigrateUrl = "http://localhost:3200/balance-migrate/"
|
|
[env]
|
|
# 可选值: dev, prod
|
|
mode = "dev"
|
|
|
|
[captcha]
|
|
baseUrl = "http://captcha-resolver.out"
|
|
#baseUrl = "http://localhost:8890"
|
|
[redis]
|
|
url = "redis://:jhkdjhkjdhsIUTYURTU_pEGmFP@database.out:56379"
|
|
|
|
[email]
|
|
# SMTP服务器配置
|
|
smtpHost = "smtp-mail.outlook.com"
|
|
smtpPort = 587
|
|
# 发件人邮箱和密码(需要使用授权码,不是登录密码)
|
|
smtpUsername = "demo@likedream.xyz"
|
|
smtpPassword = "baca122..."
|
|
# 发件人邮箱和显示名称
|
|
fromEmail = "demo@likedream.xyz"
|
|
fromName = "若梦系统"
|
|
|
|
|
|
[s3]
|
|
accessKey = "dzckoE1UlZe8XFItWQDI"
|
|
secretKey = "f8UZdnDohtwZk5HInT1Cw1QCztSGnFuPPqfSSjzu"
|
|
baseUrl = "http://s3.out"
|
|
bucket = "likedream"
|
|
|
|
[cpdaily]
|
|
appVersion = "9.7.2"
|
|
systemVersion = "iOS 17"
|
|
calVersion = "firstv"
|
|
|
|
|
|
[task]
|
|
concurrency = 20 |