infrastructure/app/build/webpull
2020-09-12 20:17:07 +02:00
..
.gitignore Refactor 2 2020-09-12 20:17:07 +02:00
Dockerfile.nodejs Refactor 2 2020-09-12 20:17:07 +02:00
Dockerfile.ruby Refactor 2 2020-09-12 20:17:07 +02:00
main.go Refactor 2 2020-09-12 20:17:07 +02:00
README.md Refactor 2 2020-09-12 20:17:07 +02:00

webpull

Webpull allows you to update your live website without deploying a new docker container but by simply calling an URL

You need to specify a secret token at boot:

WEBPULL_TOKEN=s3cr3et ./webpull

Node.js version

go build ./main.go
sudo docker build -f ./Dockerfile.nodejs -t superboum/amd64_webpull_pug:v1  .

Ruby version

go build ./main.go
sudo docker build -f ./Dockerfile.ruby -t superboum/amd64_webpull_ruby:v1 .