mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user