规定数据类型

This commit is contained in:
2026-04-24 01:45:29 +08:00
parent ab860c61d9
commit d1943f564a
18 changed files with 546 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
version: '3.8'
services:
# Backend Service
backend:
build:
context: .
dockerfile: docker/backend.Dockerfile
container_name: sillytavern-repalice-backend
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
- PORT=3000
- DATA_DIR=/app/data
- FRONTEND_URL=http://localhost:5173
env_file:
- .env
networks:
- app-network
restart: unless-stopped
# Frontend Service
frontend:
build:
context: .
dockerfile: docker/frontend.Dockerfile
container_name: sillytavern-repalice-frontend
ports:
- "5173:5173"
environment:
- VITE_API_URL=http://localhost:3000/api
depends_on:
- backend
networks:
- app-network
restart: unless-stopped
networks:
app-network:
driver: bridge