初始化小财项目
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user