Ensure you have Docker Desktop installed.
Key variables which are used in the startup of the app. They are pre-configured for initial use, can be adjusted to tailor the app's startup settings.
APP_DB
: MongoDB URIPORT
: Preset to 3000 for backendSECRET
: JWT SECRET TOKEN
Refer to docker-compose.yaml
To start the application containers with the latest build:
docker-compose -f docker-compose.yaml up -d --build
To start both the backend and MongoDB database services as defined in the docker-compose.yaml
file:
docker-compose -f docker-compose.yaml up -d
To start only the MongoDB database as defined in the docker-compose.yaml file:
docker-compose -f docker-compose.yaml up -d mongodb
docker-compose -f docker-compose.yaml build
To stop all running containers:
docker-compose -f docker-compose.yaml down
docker-compose -f docker-compose.yaml down -v