fa
Some checks failed
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-26 21:29:54 +08:00
commit 2c4549ad79
85 changed files with 14664 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "4000:3000"
volumes:
- todos-data:/app/data
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
# 设置访问密码(可自定义,默认为 stark123
- AUTH_PASSWORD=${AUTH_PASSWORD:-stark123}
restart: always
volumes:
todos-data: