mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add gotify
This commit is contained in:
parent
05872d0227
commit
da8380f57d
20
gotify/README.md
Normal file
20
gotify/README.md
Normal 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
12
gotify/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user