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