diff --git a/gotify/README.md b/gotify/README.md new file mode 100644 index 0000000..91c5702 --- /dev/null +++ b/gotify/README.md @@ -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/ diff --git a/gotify/docker-compose.yml b/gotify/docker-compose.yml new file mode 100644 index 0000000..3350f82 --- /dev/null +++ b/gotify/docker-compose.yml @@ -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