chore: Update Docker configuration for frontend deployment
- Added SERVER_API_URL argument to the Dockerfile for backend API integration. - Updated docker-compose.yml to include SERVER_API_URL for the frontend service. These changes aim to ensure proper communication between the frontend and backend services during deployment.
This commit is contained in:
@@ -42,6 +42,7 @@ services:
|
||||
dockerfile: ../docker/deploy/frontend.Dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=https://api.vexplor.com/api
|
||||
- SERVER_API_URL=http://backend:3001
|
||||
container_name: pms-frontend-prod
|
||||
restart: always
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user