Add environment variables for frontend and API URL in Docker Compose
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user