Both client and server folders contain Dockerfile
configurations for building their respective instances.
A docker-compose.yml
file is located in the root of the projects which will build all the containers and setup network config OOTB.
Frontend and backend will share the same domain (to allow cookies):
- frontend will be located on
http://localhost/
- backend will be located on
http://localhost/api
See
nginx/default.conf
if you need further configuration
To start the app, make sure you have docker installed (Docker desktop is recommended) and running, and run the command from the project root:
docker compose -f "docker-compose.yml" up -d --build
or a shorter version:
docker-compose up -d