feat: add Docker configuration for deployment

This commit is contained in:
Hiro
2026-03-28 11:09:39 +00:00
parent 75f67c0b11
commit 102cf899f1
5 changed files with 73 additions and 0 deletions

14
.env.development Normal file
View File

@@ -0,0 +1,14 @@
# SimpleNote Web - Development Environment
# Server
PORT=3000
NODE_ENV=development
# Auth - generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
ADMIN_TOKEN=dev-admin-token-change-in-production
# Data
DATA_ROOT=./data
# CORS (comma-separated origins or * for all)
CORS_ORIGIN=http://localhost:5173,http://localhost:3000