Files
aiagent/saars/docker-compose.yml
2026-03-07 13:59:49 +08:00

24 lines
821 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 代理(与 androidExampleDemo 一致admin/1234568037 form 登录)
PLATFORM_BASE_URL: http://101.43.95.130:8037
PLATFORM_USERNAME: admin
PLATFORM_PASSWORD: "123456"
PLATFORM_AGENT_ID: "7332bba7-f9e7-4e10-9af6-7a0509a3ef97"
depends_on:
- redis
redis:
image: redis:7-alpine
ports:
- "16379:6379" # 主机 16379 避免与本地 Redis 冲突