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