Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.92 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.92 KB

ntfy

ntfy.sh | Send push notifications to your phone or desktop via PUT/POST

ntfy (pronounced "notify") is a simple HTTP-based pub-sub notification service.

This is an unofficial Docker image built using the LinuxServer team's Alpine base-image.

Notice

Although using both binwiederhier's and LinuxServer's respective works at its core, this image is not associated with — nor endorsed by — either developers in any way, shape, or form. It is simply a project for me to learn container architecture, which I chose to make public in the spirit of FOSS. All rights belong to their respective owners.

The official ntfy Docker image can be found here and you can support its developer here and here, or contribute to its development here.

Usage

To use this image, simply run the following command:

docker run -p 8080:8080 ghcr.io/raycadle/ntfy:latest

or

podman run -p 8080:8080 ghcr.io/raycadle/ntfy:latest

Build

If you wish to build this image locally, you can do so by running the commands below.

Clone Repo

git clone https://github.com/raycadle/docker-ntfy.git && cd docker-ntfy

Build & Run

docker build --build-arg BUILD_DATE="$(date +%d/%m/%y)" --build-arg VERSION="$(date +%R:%S)" --tag ntfy:latest . && \
docker run \
  --name=ntfy \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=America/Belize \
  -p 8080:8080 \
  -v /path/to/data:/config \
  --restart unless-stopped \
  ntfy:latest