infrastructure/app/web_static/build/webpull
2021-01-16 17:07:01 +01:00
..
.gitignore Proposal: reorganize app/ folder by modules 2021-01-16 17:07:01 +01:00
Dockerfile.nodejs Proposal: reorganize app/ folder by modules 2021-01-16 17:07:01 +01:00
Dockerfile.ruby Proposal: reorganize app/ folder by modules 2021-01-16 17:07:01 +01:00
main.go Proposal: reorganize app/ folder by modules 2021-01-16 17:07:01 +01:00
README.md Proposal: reorganize app/ folder by modules 2021-01-16 17:07:01 +01: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 .