diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-21 12:38:15 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-21 12:38:15 +0200 |
commit | 1c4bc090fc737662740260a6ad88709b87d1b83c (patch) | |
tree | 5aa3ab76c28b7c24382070a7d898ee98642f3538 /docker/webpull/README.md | |
parent | 4c2ae7f696b06b4f926c0115de63046686db6ef9 (diff) | |
download | infrastructure-1c4bc090fc737662740260a6ad88709b87d1b83c.tar.gz infrastructure-1c4bc090fc737662740260a6ad88709b87d1b83c.zip |
Improve webpull
Diffstat (limited to 'docker/webpull/README.md')
-rw-r--r-- | docker/webpull/README.md | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/docker/webpull/README.md b/docker/webpull/README.md index 351d300..5d17d17 100644 --- a/docker/webpull/README.md +++ b/docker/webpull/README.md @@ -2,9 +2,22 @@ Webpull allows you to update your live website without deploying a new docker container but by simply calling an URL -## Pug version +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.pug -t superboum/amd64_webpull_pug:v1 +sudo docker build -f ./Dockerfile.ruby -t superboum/amd64_webpull_ruby:v1 . ``` |