1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

add gotify

This commit is contained in:
kev 2021-09-27 15:11:34 +08:00
parent 05872d0227
commit da8380f57d
2 changed files with 32 additions and 0 deletions

20
gotify/README.md Normal file
View File

@ -0,0 +1,20 @@
gotify
======
[Gotify][1] is a simple server for sending and receiving messages.
![](https://gotify.net/img/intro.png)
```bash
# server
$ docker-compose up -d
$ curl http://localhost:8080
# client
$ wget -O gotify https://github.com/gotify/cli/releases/download/v2.2.0/gotify-cli-linux-amd64
$ chmod +x gotify
$ gotify init
$ gotify push -t "my title" -p 10 "my message"
```
[1]: https://gotify.net/

12
gotify/docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
version: "3.8"
services:
gotify:
image: gotify/server
ports:
- "8080:80"
volumes:
- ./data:/app/data
environment:
- GOTIFY_DEFAULTUSER_NAME=admin
- GOTIFY_DEFAULTUSER_PASS=secret
restart: unless-stopped