初始化小财项目

This commit is contained in:
2026-07-22 10:26:32 +08:00
commit 494977d376
7 changed files with 1195 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
xiaocai:
build: ./server
restart: unless-stopped
expose:
- "3000" # 仅内网暴露
volumes:
- ./data:/app/data # 持久化数据
- ./server/public:/app/public
environment:
- USERS=${USERS}
- ADMINS=${ADMINS}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
- PORT=3000
- VIRTUAL_HOST=ai.foresh.com
- VIRTUAL_PORT=3000
- CERT_NAME=default
networks:
- my-app-network
networks:
my-app-network:
external: true