$ docker build . -t sponsors
$ docker run --name sponsors -p 8080:8080 -e DB_HOST=%CUSTOM_DB_HOST% -e DB_PORT=%CUSTOM_DB_PORT% -e DB_NAME=%CUSTOM_DB_NAME% -e DB_USERNAME=%CUSTOM_DB_USERNAME% -e DB_PASSWORD=%CUSTOM_DB_PASSWORD% sponsors
$ docker-compose -d up api
API will be available on 8080 port
$ docker-compose -d up sponsors
Sponsors application will be available on http://localhost:8080/
$ docker-compose stop sponsors
$ docker-compose logs
$ docker-compose logs -f
All documentation available on http://localhost:8080/swagger-ui.html