feat: rollback

This commit is contained in:
Harold 2025-11-07 18:05:04 +08:00
parent 30758d3ec0
commit 52d6b2e0bb
2 changed files with 5 additions and 7 deletions

View file

@ -1,7 +0,0 @@
.git
__pycache__
*.pyc
.env
Dockerfile
tmp/
data/

View file

@ -10,6 +10,7 @@ services:
context: .
dockerfile: Dockerfile
image: xiaozhi-esp32-server:local
container_name: xiaozhi-esp32-server
depends_on:
xiaozhi-esp32-server-db:
condition: service_healthy
@ -61,6 +62,7 @@ services:
# image: ghcr.nju.edu.cn/xinnan-tech/xiaozhi-esp32-server:web_latest
# platform: linux/amd64 # Uncomment to force x86 emulation on ARM64
container_name: xiaozhi-esp32-server-web
restart: unless-stopped
networks:
- xiaozhi-network
@ -97,6 +99,7 @@ services:
# ============================================================================
xiaozhi-esp32-server-db:
image: mysql:8.0
container_name: xiaozhi-esp32-server-db
restart: unless-stopped
networks:
- xiaozhi-network
@ -136,6 +139,7 @@ services:
# ============================================================================
xiaozhi-esp32-server-redis:
image: redis:7-alpine
container_name: xiaozhi-esp32-server-redis
restart: unless-stopped
networks:
- xiaozhi-network
@ -166,6 +170,7 @@ services:
networks:
xiaozhi-network:
driver: bridge
name: xiaozhi-local-network
# ============================================================================
# Volumes (optional - for named volumes instead of bind mounts)