add env var

This commit is contained in:
2026-03-31 20:37:12 +02:00
parent 551b5a2658
commit 0b379d1331
15 changed files with 125 additions and 2 deletions

View File

@@ -8,7 +8,13 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
frontend:
build: ./frontend
build:
context: ./frontend
args:
# The URL of the backend API.
# This is passed to the React application during the build process.
# If not set, the frontend will default to http://localhost:3001 in the frontend code.
- REACT_APP_BACKEND_URL
ports:
- "3000:3000"
depends_on: