Add environment variables for frontend and API URL in Docker Compose

This commit is contained in:
Julio Cesar
2025-08-20 17:26:43 +02:00
parent 67f26a42f1
commit 1ed644f1c0

View File

@@ -3,6 +3,8 @@ services:
build:
context: ..
dockerfile: maplibre-docker/Dockerfile
args:
- VITE_API_URL=${VITE_API_URL}
ports:
- "127.0.0.1:5173:80"
networks:
@@ -14,6 +16,8 @@ services:
dockerfile: maplibre-docker/Dockerfile.back
ports:
- "127.0.0.1:3001:3001"
environment:
- FRONTEND_URL=${FRONTEND_URL}
networks:
- dokploy-network