rename

master
hunterlong 2020-04-14 09:13:50 -07:00
parent b0831f96fa
commit 526fd0ceff
8 changed files with 26 additions and 26 deletions

@ -73,7 +73,7 @@ aws ec2 run-instances \
Start a Statping server with an SSL cert that will automatically regenerate when it's near expiration time. You'll need to point your domain's A record (IP address) or CNAME (public DNS endpoint) to use this feature. Start a Statping server with an SSL cert that will automatically regenerate when it's near expiration time. You'll need to point your domain's A record (IP address) or CNAME (public DNS endpoint) to use this feature.
```bash ```bash
wget https://raw.githubusercontent.com/hunterlong/statping/master/dev/ec2-ssl.sh wget https://raw.githubusercontent.com/statping/statping/master/dev/ec2-ssl.sh
``` ```
```bash ```bash

@ -1,5 +1,5 @@
### Installation ### Installation
For OSX, you can install the [Cloud Foundry CLI](https://github.com/cloudfoundry/cli) tool from Brew. For OSX, you can install the [Cloud Foundry CLI](https://github.com/cloudfoundry/cli) tool from Brew.
```shell ```shell
brew install cloudfoundry/tap/cf-cli brew install cloudfoundry/tap/cf-cli
``` ```
@ -10,7 +10,7 @@ You can include multiple environment variables to the configg file. If you inclu
applications: applications:
- name: statping - name: statping
docker: docker:
image: hunterlong/statping image: statping/statping
timeout: 180 timeout: 180
env: env:
DB_CONN: sqlite / mysql / postgres DB_CONN: sqlite / mysql / postgres
@ -28,7 +28,7 @@ Save this file as `manifest.yml` and then run: `cf push`
applications: applications:
- name: statping - name: statping
docker: docker:
image: hunterlong/statping:((version)) image: statping/statping:((version))
timeout: 180 timeout: 180
env: ((env)) env: ((env))
``` ```
@ -38,4 +38,4 @@ Then you can run a command like:
cf push --var version=v0.80.53 --var env='DB_CONN: sqlite' cf push --var version=v0.80.53 --var env='DB_CONN: sqlite'
``` ```
Thank you [@giner](https://github.com/giner) for creating this documentation. Thank you [@giner](https://github.com/giner) for creating this documentation.

@ -2,13 +2,13 @@ Statping is a pretty cool server for monitoring your services. The way we deploy
1. Source code commits get pushed to Github 1. Source code commits get pushed to Github
2. [Rice](https://github.com/GeertJohan/go.rice) will compile all the static assets into 1 file (rice-box.go in source) 2. [Rice](https://github.com/GeertJohan/go.rice) will compile all the static assets into 1 file (rice-box.go in source)
3. SASS will generate a compiled version of the CSS. 3. SASS will generate a compiled version of the CSS.
4. Statping Help page is generated by cloning the Wiki repo using `go generate`. 4. Statping Help page is generated by cloning the Wiki repo using `go generate`.
5. Travis-CI tests the Golang application. 5. Travis-CI tests the Golang application.
6. Travis-CI tests the Statping API using [Postman](https://github.com/statping/statping/blob/master/source/tmpl/postman.json). 6. Travis-CI tests the Statping API using [Postman](https://github.com/statping/statping/blob/master/source/tmpl/postman.json).
7. If all tests are successful, Travis-CI will compile the binaries using [xgo](https://github.com/karalabe/xgo). 7. If all tests are successful, Travis-CI will compile the binaries using [xgo](https://github.com/karalabe/xgo).
8. Binaries are code signed using the official [PGP key](https://github.com/statping/statping/wiki/PGP-Signature) and compressed. 8. Binaries are code signed using the official [PGP key](https://github.com/statping/statping/wiki/PGP-Signature) and compressed.
9. [Docker](https://cloud.docker.com/repository/docker/hunterlong/statping/builds) receives a trigger to build for the `latest` tag. 9. [Docker](https://cloud.docker.com/repository/docker/statping/statping/builds) receives a trigger to build for the `latest` tag.
10. Travis-CI uploads the [latest release](https://github.com/statping/statping/releases) as a tagged version on Github. 10. Travis-CI uploads the [latest release](https://github.com/statping/statping/releases) as a tagged version on Github.
11. Travis-CI updates the [homebrew-statping](https://github.com/hunterlong/homebrew-statping) repo with the latest version. 11. Travis-CI updates the [homebrew-statping](https://github.com/hunterlong/homebrew-statping) repo with the latest version.

@ -1,4 +1,4 @@
This page includes multiple docker-compose.yml setups for you to run. There are many environment variables for additional settings and features, checkout the [Environment Variables Wiki](https://github.com/statping/statping/wiki/Environment-Variables) to see them all. This page includes multiple docker-compose.yml setups for you to run. There are many environment variables for additional settings and features, checkout the [Environment Variables Wiki](https://github.com/statping/statping/wiki/Environment-Variables) to see them all.
### Database Configurations ### Database Configurations
- [SQLite](#basic-sqlite-connection) - [SQLite](#basic-sqlite-connection)
@ -24,7 +24,7 @@ This docker-compose will start Statping on port 8080 and automatically run on a
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
ports: ports:
- 8080:8080 - 8080:8080
@ -38,7 +38,7 @@ statping:
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
depends_on: depends_on:
- mysql - mysql
@ -74,7 +74,7 @@ mysql:
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
ports: ports:
- 8080:8080 - 8080:8080
@ -108,12 +108,12 @@ postgres:
``` ```
# Nginx Proxy Pass # Nginx Proxy Pass
The [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) Docker image will automatically redirect a domain to a specific container. The [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) Docker image will automatically redirect a domain to a specific container.
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
volumes: volumes:
- statping_data:/app - statping_data:/app
@ -137,7 +137,7 @@ Using the [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) image al
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
volumes: volumes:
- statping_data:/app - statping_data:/app
@ -203,7 +203,7 @@ scrape_configs:
```yaml ```yaml
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping image: statping/statping
restart: always restart: always
volumes: volumes:
- statping_data:/app - statping_data:/app

@ -1,5 +1,5 @@
# Mac # Mac
``` ```
brew tap hunterlong/statping brew tap statping/statping
brew install statup brew install statup
``` ```

12
SSL.md

@ -70,7 +70,7 @@ services:
statping: statping:
container_name: statping container_name: statping
image: hunterlong/statping:latest image: statping/statping:latest
restart: always restart: always
networks: networks:
- internet - internet
@ -130,20 +130,20 @@ http {
} }
} }
# HTTPS server # HTTPS server
server { server {
listen 443; listen 443;
server_name localhost; server_name localhost;
ssl on; ssl on;
ssl_certificate /my/absolute/directory/for/cert/server.crt; ssl_certificate /my/absolute/directory/for/cert/server.crt;
ssl_certificate_key /my/absolute/directory/for/key/server.key; ssl_certificate_key /my/absolute/directory/for/key/server.key;
ssl_session_timeout 5m; ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1; ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
location / { location / {
proxy_pass http://localhost:8080; proxy_pass http://localhost:8080;
proxy_set_header Host $host; proxy_set_header Host $host;
@ -160,4 +160,4 @@ http {
} }
``` ```
## Apache ## Apache

@ -1,3 +1,3 @@
<p align="center"> <p align="center">
<a href="https://statping.com">Statping.com</a> | <a href="https://demo.statping.com">Demo</a> | <a href="https://hub.docker.com/r/hunterlong/statping">Docker</a> | <a href="https://github.com/statping/statping/wiki/Notifiers">Notifiers</a> | <a href="https://github.com/statping/statping/wiki/API">API</a> <a href="https://statping.com">Statping.com</a> | <a href="https://demo.statping.com">Demo</a> | <a href="https://hub.docker.com/r/statping/statping">Docker</a> | <a href="https://github.com/statping/statping/wiki/Notifiers">Notifiers</a> | <a href="https://github.com/statping/statping/wiki/API">API</a>
</p> </p>

@ -70,7 +70,7 @@ Docker: [statping/statping](https://cloud.docker.com/repository/docker/statping/
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.png)](https://godoc.org/github.com/statping/statping) [![GoDoc](https://godoc.org/github.com/golang/gddo?status.png)](https://godoc.org/github.com/statping/statping)
[![Build Status](https://travis-ci.com/statping/statping.svg?branch=master)](https://travis-ci.com/hunterlong/statping) [![Build Status](https://travis-ci.com/statping/statping.svg?branch=master)](https://travis-ci.com/statping/statping)
[![codebeat badge](https://codebeat.co/badges/06b4fa61-8c08-44d3-841b-7f94fd0f4c2f)](https://codebeat.co/projects/github-com-statping-statup-master) [![codebeat badge](https://codebeat.co/badges/06b4fa61-8c08-44d3-841b-7f94fd0f4c2f)](https://codebeat.co/projects/github-com-statping-statup-master)
@ -86,7 +86,7 @@ Docker: [statping/statping](https://cloud.docker.com/repository/docker/statping/
[![Coverage Status](https://coveralls.io/repos/github/statping/statping/badge.svg?branch=master)](https://coveralls.io/github/statping/statping?branch=master) [![Coverage Status](https://coveralls.io/repos/github/statping/statping/badge.svg?branch=master)](https://coveralls.io/github/statping/statping?branch=master)
[![Libraries.io for releases](https://img.shields.io/librariesio/github/statping/statping.svg)](https://libraries.io/github/hunterlong/statping) [![Libraries.io for releases](https://img.shields.io/librariesio/github/statping/statping.svg)](https://libraries.io/github/statping/statping)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/statping/statping.svg) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/statping/statping.svg)