Open uparkalau opened 4 days ago
The pull request introduces modifications to the docker-compose.yml
file, adding develop
sections for the onboarding_backend
and frontend
services with file synchronization configurations. It also updates the NODE_ENV
variable for the frontend
service from production
to development
. Additionally, the frontend/src/utils/constants.js
file sees changes in the export status of the API_BASE_URL
constant for local and staging environments, enhancing its accessibility in the local environment while commenting out the staging export.
File | Change Summary |
---|---|
docker-compose.yml | Added develop sections with watch configuration for onboarding_backend and frontend . Updated NODE_ENV for frontend from production to development . |
frontend/src/utils/constants.js | Changed export status of API_BASE_URL : now exported for local environment, commented out for staging. |
sequenceDiagram
participant User
participant Frontend
participant Backend
User->>Frontend: Request API
Frontend->>Backend: Fetch data from API_BASE_URL
Backend-->>Frontend: Return data
Frontend-->>User: Display data
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
use: 'docker compose up --watch' to keep files updated into the docker containers