commit 0a35a6f509a72b1d6e95e39214f86f0917140910 Author: Kris Lamoureux Date: Sat Apr 11 14:56:01 2026 -0400 Initial Gotify deployment setup diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a98c8e5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright (C) 2026 by Kris Lamoureux + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..4c922dc --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Gotify Deployment + +Gotify is a self-hosted push notification server. + +## Variables + +### Docker Settings + +- `IMAGE`: Docker image (default: `docker.io/gotify/server`). +- `VERSION`: Image tag (required, no default). +- `NAME`: Container name (default: `gotify`). + +### Volumes + +- `DATA`: Path to the data directory on the host (required, no default). + +### Network + +- `ENDPOINT`: Address and port binding (default: `127.0.0.1:8000`). + +## License + +This project is released under the 0BSD license, which allows for unrestricted +use, modification, and distribution. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8c08b51 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +services: + gotify: + image: ${IMAGE:-docker.io/gotify/server}:${VERSION:?} + container_name: ${NAME:-gotify} + ports: + - ${ENDPOINT:-127.0.0.1:8000}:80 + volumes: + - ${DATA:?}:/app/data:Z