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/app_build/webpull
2020-09-12 10:03:48 +02:00
..
.gitignore Rebase first step 2020-09-12 10:03:48 +02:00
Dockerfile.nodejs Rebase first step 2020-09-12 10:03:48 +02:00
Dockerfile.ruby Rebase first step 2020-09-12 10:03:48 +02:00
main.go Rebase first step 2020-09-12 10:03:48 +02:00
README.md Rebase first step 2020-09-12 10:03:48 +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 .