feature: add draft

This commit is contained in:
dela
2026-02-12 00:34:21 +08:00
parent 788de594f2
commit 5a618aac12
18 changed files with 1262 additions and 59 deletions

View File

@@ -8,11 +8,10 @@ services:
dockerfile: Dockerfile
args:
# REPLACE THIS with your actual backend URL (e.g., https://api.yourdomain.com)
# 0.0.0.0 does NOT work for browsers. Use 127.0.0.1 for local, or public IP for server.
NEXT_PUBLIC_API_URL: http://127.0.0.1:8765
# Since this is a client-side var, it cannot be "localhost" if accessed from outside the server.
NEXT_PUBLIC_API_URL: https://your-backend-url.com
restart: always
ports:
# Maps host port 3001 to container port 3000 to avoid conflict
- "3001:3000"
- "127.0.0.1:3367:3000"
environment:
- NODE_ENV=production