2020-03-01 19:21:20 +00:00
|
|
|
# webpull
|
|
|
|
|
|
|
|
Webpull allows you to update your live website without deploying a new docker container but by simply calling an URL
|
2020-03-02 06:52:54 +00:00
|
|
|
|
2020-04-21 10:38:15 +00:00
|
|
|
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
|
2020-03-02 06:52:54 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
go build ./main.go
|
2020-04-21 10:38:15 +00:00
|
|
|
sudo docker build -f ./Dockerfile.ruby -t superboum/amd64_webpull_ruby:v1 .
|
2020-03-02 06:52:54 +00:00
|
|
|
```
|