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