refactor: split backend into standalone server project
Remove embedded frontend and workflow editor assets, add standalone API deployment configuration, and retain the current backend service updates.
This commit is contained in:
@@ -2,14 +2,15 @@ language: zh-CN
|
||||
|
||||
server:
|
||||
port: 8083
|
||||
frontendUrl: http://127.0.0.1:3000
|
||||
cors:
|
||||
allowedOrigins:
|
||||
- http://localhost:8083
|
||||
- http://127.0.0.1:8083
|
||||
- http://localhost:3000
|
||||
- http://127.0.0.1:3000
|
||||
|
||||
db:
|
||||
type: mysql
|
||||
dsn: cs_ai_agent:cs_ai_agent_password@tcp(mysql:3306)/cs_ai_agent?charset=utf8mb4&parseTime=True&loc=Local
|
||||
type: postgres
|
||||
dsn: host=host.docker.internal user=cs_ai_agent password=cs_ai_agent_password dbname=cs_ai_agent port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
logger:
|
||||
level: info
|
||||
@@ -26,7 +27,7 @@ storage:
|
||||
maxUploadSizeMB: 5
|
||||
local:
|
||||
root: /app/data/storage
|
||||
baseUrl: /storage
|
||||
baseUrl: http://127.0.0.1:8083/storage
|
||||
oss:
|
||||
endpoint: ""
|
||||
bucket: ""
|
||||
|
||||
Reference in New Issue
Block a user