Skip to content

Commit

Permalink
Merge pull request #74 from ramonsnir/patch-2
Browse files Browse the repository at this point in the history
Update Docker installation with a Dockerfile example
  • Loading branch information
binwiederhier authored Dec 29, 2021
2 parents 9752bd7 + 76a28b4 commit 35b2ca5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ docker run \
serve
```

Alternatively, you may wish to build a customized Docker image that can be run with fewer command-line arguments and without delivering the configuration file separately.
```
FROM binwiederhier/ntfy
COPY server.yml /etc/ntfy/server.yml
ENTRYPOINT ["ntfy", "serve"]
```
This image can be pushed to a container registry and shipped independently. All that's needed when running it is mapping ntfy's port to a host port.

## Go
To install via Go, simply run:
```bash
Expand Down

0 comments on commit 35b2ca5

Please sign in to comment.