mirror of https://github.com/statping/statping
Created Docker (markdown)
parent
f85d4a5bda
commit
4229ddfe6f
|
@ -0,0 +1,21 @@
|
||||||
|
# Install on Docker
|
||||||
|
This Docker image uses Alpine Linux to keep it ultra small.
|
||||||
|
```bash
|
||||||
|
docker run -it -p 8080:8080 hunterlong/statup
|
||||||
|
```
|
||||||
|
#### Or use Docker Compose
|
||||||
|
This Docker Compose file inlcudes NGINX, Postgres, and Statup.
|
||||||
|
```bash
|
||||||
|
wget https://raw.githubusercontent.com/hunterlong/statup/master/servers/docker-compose.yml
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Docker Compose with Automatic SSL
|
||||||
|
You can automatically start a Statup server with automatic SSL encryption using this docker-compose file. First point your domain's DNS to the Statup server, and then run this docker-compose command with DOMAIN and EMAIL. Email is for letsencrypt services.
|
||||||
|
```
|
||||||
|
wget https://raw.githubusercontent.com/hunterlong/statup/master/servers/docker-compose-ssl.yml
|
||||||
|
|
||||||
|
LETSENCRYPT_HOST=mydomain.com \
|
||||||
|
LETSENCRYPT_EMAIL=info@mydomain.com \
|
||||||
|
docker-compose -f docker-compose-ssl.yml up -d
|
||||||
|
```
|
Loading…
Reference in New Issue