Skip to content

Run frontend in production mode locally

Tibor edited this page Nov 4, 2021 · 8 revisions

To run the frontend project locally. You should follow these steps:

Change HOST in /frontend/.env from HOST=localhost to HOST=0.0.0.0

Make sure no docker is running, then build with local config

docker-compose -f docker-compose.yml -f docker-compose.local.yml build

then run

docker-compose -f docker-compose.yml -f docker-compose.local.yml up

You can open the application in http://localhost

After finished debugging, don't forget to change the HOST in /frontend/.env to HOST=localhost!

Clone this wiki locally