mirror of https://github.com/statping/statping
upgrades
parent
8d878e81a1
commit
0cc0356e35
|
@ -1,11 +1,21 @@
|
|||
# Statup Servers
|
||||
|
||||
|
||||
## Docker
|
||||
## AWS EC2
|
||||
Get up and running with 0 configuration using an EC2 server along with our startup script.
|
||||
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Docker Compose
|
||||
```$xslt
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
|
||||
## AWS EC2
|
||||
|
||||
## Docker Compose with Automatic SSL
|
||||
```
|
||||
DOMAIN=mydomain.com EMAIL=info@mydomain.com \
|
||||
docker-compose -f docker-compose-ssl.yml up -d
|
||||
```
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
|
||||
statup:
|
||||
container_name: statup
|
||||
build: https://github.com/hunterlong/statup.git
|
||||
image: hunterlong/statup:latest
|
||||
restart: always
|
||||
networks:
|
||||
- internet
|
||||
|
|
|
@ -4,23 +4,26 @@ sudo apt-get update
|
|||
sudo apt-get install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl git \
|
||||
curl \
|
||||
software-properties-common -y
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install docker-ce -y
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
sudo docker-compose --version
|
||||
sudo systemctl enable docker
|
||||
|
||||
git clone https://github.com/hunterlong/statup.git
|
||||
cd statup/servers
|
||||
mkdir statup
|
||||
cd statup
|
||||
wget https://raw.githubusercontent.com/hunterlong/statup/master/servers/docker-compose.yml
|
||||
sudo service docker start
|
||||
sudo docker-compose up -d
|
||||
sudo docker-compose up -d
|
||||
|
||||
|
||||
|
||||
/etc/rc.local
|
||||
|
||||
|
|
Loading…
Reference in New Issue