mirror of https://github.com/statping/statping
8 lines
456 B
Bash
8 lines
456 B
Bash
#!/usr/bin/env bash
|
|
cd /home/ubuntu
|
|
rm -f docker-compose.yml
|
|
curl -o docker-compose.yml -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/hunterlong/statup/master/servers/docker-compose-ssl.yml
|
|
sudo service docker start
|
|
sudo docker system prune -af
|
|
sudo LETSENCRYPT_HOST=$LETSENCRYPT_HOST LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL docker-compose pull
|
|
sudo LETSENCRYPT_HOST=$LETSENCRYPT_HOST LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL docker-compose up -d |