Files
aiagent/saars/docker-compose.yml
2026-03-07 10:29:17 +08:00

24 lines
862 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 数据库使用腾讯云 MySQL见 DATABASE_URL
# 本地仅启动 backend + redis
services:
backend:
build: ./backend
ports:
- "8052:8052"
environment:
FLASK_ENV: development
PORT: "8052"
DATABASE_URL: mysql+pymysql://root:!Rjb12191@gz-cynosdbmysql-grp-d26pzce5.sql.tencentcdb.com:24936/liaotian_db?charset=utf8mb4
REDIS_URL: redis://redis:6379/0
# 知你客服 Agent 代理(方式一):平台账号 amind/123456Agent ID 需在平台 Agent 管理中点「知你客服」复制
PLATFORM_BASE_URL: http://101.43.95.130:8037
PLATFORM_USERNAME: amind
PLATFORM_PASSWORD: "123456"
PLATFORM_AGENT_ID: "7332bba7-f9e7-4e10-9af6-7a0509a3ef97"
depends_on:
- redis
redis:
image: redis:7-alpine
ports:
- "16379:6379" # 主机 16379 避免与本地 Redis 冲突