first commit

This commit is contained in:
root
2026-05-17 03:27:30 +09:00
commit ea41d0d1ed
1216 changed files with 126475 additions and 0 deletions

28
docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
services:
backend:
build: ./backend
container_name: esp32-flasher-backend
volumes:
- firmware_uploads:/app/uploads
environment:
- NODE_ENV=production
- PORT=3000
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
build: ./frontend
container_name: esp32-flasher-frontend
ports:
- "3100:80"
depends_on:
- backend
restart: unless-stopped
volumes:
firmware_uploads:
driver: local