[ci skip] move docker section to bottom.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
3a8c8d1c9d
commit
6ffeabb600
35
README.md
35
README.md
|
@ -104,23 +104,6 @@ Test status of api server using [httpie](https://github.com/jkbrzt/httpie) tool:
|
||||||
$ http -v --verify=no --json GET https://localhost:8088/api/status
|
$ http -v --verify=no --json GET https://localhost:8088/api/status
|
||||||
```
|
```
|
||||||
|
|
||||||
![statue screenshot](screenshot/status.png)
|
|
||||||
|
|
||||||
## Run gopush in Docker
|
|
||||||
|
|
||||||
Set up `gopush` in the cloud in under 5 minutes with zero knowledge of Golang or Linux shell using our [gopush Docker image](https://hub.docker.com/r/appleboy/gopush/).
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ docker pull appleboy/gopush
|
|
||||||
$ docker run -name gopush -p 80:8088 appleboy/gopush
|
|
||||||
```
|
|
||||||
|
|
||||||
Testing your gopush server.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ http -v --verify=no --json GET http://your.docker.host/api/status
|
|
||||||
```
|
|
||||||
|
|
||||||
## Web API
|
## Web API
|
||||||
|
|
||||||
Gopush support the following API.
|
Gopush support the following API.
|
||||||
|
@ -183,6 +166,7 @@ Send multiple notifications as below:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See more example about [iOS](#ios-example) or [Android](#android-example).
|
||||||
|
|
||||||
### Request body
|
### Request body
|
||||||
|
|
||||||
|
@ -357,6 +341,23 @@ Success response:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Run gopush in Docker
|
||||||
|
|
||||||
|
Set up `gopush` in the cloud in under 5 minutes with zero knowledge of Golang or Linux shell using our [gopush Docker image](https://hub.docker.com/r/appleboy/gopush/).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker pull appleboy/gopush
|
||||||
|
$ docker run -name gopush -p 80:8088 appleboy/gopush
|
||||||
|
```
|
||||||
|
|
||||||
|
Testing your gopush server.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ http -v --verify=no --json GET http://your.docker.host/api/status
|
||||||
|
```
|
||||||
|
|
||||||
|
![statue screenshot](screenshot/status.png)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright 2016 Bo-Yi Wu [@appleboy](https://twitter.com/appleboy).
|
Copyright 2016 Bo-Yi Wu [@appleboy](https://twitter.com/appleboy).
|
||||||
|
|
Loading…
Reference in New Issue