Update docker path to statping/statping

master
James White 2020-04-12 08:22:41 +01:00
parent 26ce00c164
commit a03377db1f
1 changed files with 12 additions and 12 deletions

@ -1,6 +1,6 @@
Statping is easily ran on Docker with the light weight Alpine linux image. View on [Docker Hub](https://hub.docker.com/r/hunterlong/statping). Statping is easily ran on Docker with the light weight Alpine linux image. View on [Docker Hub](https://hub.docker.com/r/statping/statping).
[![](https://images.microbadger.com/badges/image/hunterlong/statping.svg)](https://microbadger.com/images/hunterlong/statping) [![Docker Pulls](https://img.shields.io/docker/pulls/hunterlong/statping.svg)](https://hub.docker.com/r/hunterlong/statping/builds/) [![](https://images.microbadger.com/badges/image/statping/statping.svg)](https://microbadger.com/images/statping/statping) [![Docker Pulls](https://img.shields.io/docker/pulls/statping/statping.svg)](https://hub.docker.com/r/statping/statping/builds/)
# Latest Docker Image # Latest Docker Image
The `latest` Docker image uses Alpine Linux to keep it ultra small. The `latest` Docker image uses Alpine Linux to keep it ultra small.
@ -8,7 +8,7 @@ The `latest` Docker image uses Alpine Linux to keep it ultra small.
docker run -d \ docker run -d \
-p 8080:8080 \ -p 8080:8080 \
--restart always \ --restart always \
hunterlong/statping statping/statping
``` ```
# Mounting Volume # Mounting Volume
@ -18,7 +18,7 @@ docker run -d \
-p 8080:8080 \ -p 8080:8080 \
-v /mydir/statping:/app \ -v /mydir/statping:/app \
--restart always \ --restart always \
hunterlong/statping statping/statping
``` ```
# Attach a SSL Certificate # Attach a SSL Certificate
@ -30,19 +30,19 @@ docker run -d \
-v /mydir/domain.key:/app/server.key \ -v /mydir/domain.key:/app/server.key \
-v /mydir:/app \ -v /mydir:/app \
--restart always \ --restart always \
hunterlong/statping statping/statping
``` ```
# Development Docker Image # Development Docker Image
If you want to run Statping that was build from the source, use the `dev` Docker image. If you want to run Statping that was build from the source, use the `dev` Docker image.
```bash ```bash
docker run -d -p 8080:8080 hunterlong/statping:dev docker run -d -p 8080:8080 statping/statping:dev
``` ```
# Cypress Testing Docker Image # Cypress Testing Docker Image
This Docker image will pull the latest version of Statping and test the web interface with [Cypress](https://www.cypress.io/). This Docker image will pull the latest version of Statping and test the web interface with [Cypress](https://www.cypress.io/).
```bash ```bash
docker run -it -p 8080:8080 hunterlong/statping:cypress docker run -it -p 8080:8080 statping/statping:cypress
``` ```
#### Or use Docker Compose #### Or use Docker Compose
@ -82,7 +82,7 @@ services:
statup: statup:
container_name: statup container_name: statup
image: hunterlong/statping:latest image: statping/statping:latest
restart: always restart: always
networks: networks:
- internet - internet
@ -123,14 +123,14 @@ networks:
``` ```
Or a simple wget... Or a simple wget...
```bash ```bash
wget https://raw.githubusercontent.com/hunterlong/statping/master/servers/docker-compose.yml wget https://raw.githubusercontent.com/statping/statping/master/servers/docker-compose.yml
docker-compose up -d docker-compose up -d
``` ```
### Docker Compose with Automatic SSL ### Docker Compose with Automatic SSL
You can automatically start a Statping server with automatic SSL encryption using this docker-compose file. First point your domain's DNS to the Statping server, and then run this docker-compose command with DOMAIN and EMAIL. Email is for letsencrypt services. You can automatically start a Statping server with automatic SSL encryption using this docker-compose file. First point your domain's DNS to the Statping server, and then run this docker-compose command with DOMAIN and EMAIL. Email is for letsencrypt services.
```bash ```bash
wget https://raw.githubusercontent.com/hunterlong/statping/master/servers/docker-compose-ssl.yml wget https://raw.githubusercontent.com/statping/statping/master/servers/docker-compose-ssl.yml
LETSENCRYPT_HOST=mydomain.com \ LETSENCRYPT_HOST=mydomain.com \
LETSENCRYPT_EMAIL=info@mydomain.com \ LETSENCRYPT_EMAIL=info@mydomain.com \
@ -179,7 +179,7 @@ services:
statup: statup:
container_name: statup container_name: statup
image: hunterlong/statping:latest image: statping/statping:latest
restart: always restart: always
networks: networks:
- internet - internet
@ -219,4 +219,4 @@ networks:
driver: bridge driver: bridge
database: database:
driver: bridge driver: bridge
``` ```