This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/docker/webpull
2020-04-21 12:38:15 +02:00
..
.gitignore webpull 2020-03-02 07:52:54 +01:00
Dockerfile.nodejs Improve webpull 2020-04-21 12:38:15 +02:00
Dockerfile.ruby Improve webpull 2020-04-21 12:38:15 +02:00
main.go [webpull] passing basic tests 2020-03-01 20:53:03 +01:00
README.md Improve webpull 2020-04-21 12:38:15 +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 .