init
This commit is contained in:
commit
5f8428a318
1688 files changed
+39031
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# 本地带源码构建用。生产无源码、分开部署:见 ../deploy/record-bot.compose.yaml
|
||||
|
||||
services:
|
||||
record-bot:
|
||||
image: ${RECORD_BOT_IMAGE:-record-bot:local}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: record-bot
|
||||
ports:
|
||||
- "${RECORD_BOT_PORT:-5080}:8080"
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
TZ: Asia/Shanghai
|
||||
Gateway__BaseUrl: ${GATEWAY_BASE_URL:-http://host.docker.internal:29527}
|
||||
Gateway__ApiKey: ${GATEWAY_API_KEY:?set GATEWAY_API_KEY}
|
||||
RecordBot__WebhookToken: ${RECORD_WEBHOOK_TOKEN:-}
|
||||
RecordBot__ReplyOnRecord: "true"
|
||||
RecordBot__ConnectionString: "Data Source=/app/data/records.db"
|
||||
RecordBot__MediaDir: /app/data/media
|
||||
RecordBot__BackupDir: /app/data/backups
|
||||
RecordBot__TimeZoneId: Asia/Shanghai
|
||||
Llm__Enabled: ${LLM_ENABLED:-true}
|
||||
Llm__ApiKey: ${LLM_API_KEY:-}
|
||||
Llm__BaseUrl: ${LLM_BASE_URL:-https://dashscope.aliyuncs.com/compatible-mode/v1}
|
||||
Llm__Model: ${LLM_MODEL:-qwen3.8-max}
|
||||
volumes:
|
||||
- ${RECORD_DATA_DIR:-./data}:/app/data
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user