chore: align local docker environment

This commit is contained in:
2026-05-19 13:40:25 +08:00
parent 7292bb2eaf
commit c49e1b3187
6 changed files with 117 additions and 5 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
name: ai-toy-patent-workflow-local
services:
web:
container_name: ai-toy-patent-workflow-local
build:
context: .
dockerfile: Dockerfile
image: ai-toy-patent-workflow:local
restart: unless-stopped
env_file:
- ./.env.local
environment:
NODE_ENV: production
PORT: "4560"
PUBLIC_APP_URL: http://localhost:4560
ports:
- "4560:4560"
volumes:
- ./data:/app/data