Skip to content

mouhcine/vapor-docker-template

 
 

Repository files navigation

Vapor Template with Docker

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

Requirements

docker needs to be installed on your machine.

Make targets

docker-image

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

build

make build builds your Vapor web application. You need to call make docker-image at least once before.

run

make run runs your Vapor web application.

About

A starting point for vapor web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 40.3%
  • CSS 35.1%
  • Swift 24.6%