Generated by Spark: I can auto default to flask backend with docker environment variable. If its not set used IndexedDB.

This commit is contained in:
2026-01-17 18:38:17 +00:00
committed by GitHub
parent 519ad0016d
commit 76e7716c10
10 changed files with 1270 additions and 337 deletions

View File

@@ -9,7 +9,8 @@ services:
- '3000:80'
environment:
- NODE_ENV=production
- VITE_BACKEND_URL=http://backend:5001
- USE_FLASK_BACKEND=true
- FLASK_BACKEND_URL=http://backend:5001
depends_on:
- backend
restart: unless-stopped