A basic vapor template for starting a new Vapor web application with easy Docker setup. If you're using vapor toolbox, you can use: vapor new MYAPPNAME --template=mouhcine/vapor-docker-template
docker needs to be installed on your machine.
make docker-image builds the docker image on which you will build and run your Vapor web application. You can extend the built image with MySQL, PGSQL or SQLite support by using the following variables set to true: MYSQL, PGSQL and SQLITE.
For instance: make docker-image MYSQL=true
make build builds your Vapor web application. You need to call make docker-image at least once before.
make run runs your Vapor web application.