- Docker daemon running locally (perhaps through Docker Desktop)
- Port
8080free
- Clone repo
- CD into root directory
- Create a
.envfile with the required environment variables outlined in Spring application properties file - Create an
application-local.propertiesfile. Copy and paste contents from prod file. - Ensure Spring profile is set to
localin compose file - Build and run the server with
docker-compose up --build
After terminating the docker image, be sure to clean up all resources created by docker by running docker-compose down.