ntfy cusrom

This commit is contained in:
Didier Slof 2023-02-26 17:49:25 +01:00
parent f732d95499
commit 532f5a9ad1
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 12 additions and 4 deletions

3
custom/ntfy/Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM binwiederhier/ntfy
COPY ./server.yml /etc/ntfy/server.yml

6
custom/ntfy/server.yml Normal file
View file

@ -0,0 +1,6 @@
base-url: "https://push.ixvd.net"
listen-http: ":80"
auth-file: "/var/cache/ntfy/auth.db"
cache-file: "/var/cache/ntfy/cache.db"
attachment-cache-dir: "/var/cache/ntfy/attachments"

View file

@ -12,15 +12,14 @@ services:
- internal - internal
ntfy: ntfy:
image: binwiederhier/ntfy build: custom/ntfy
container_name: ntfy container_name: ntfy
command: command:
- serve - serve
environment: environment:
VIRTUAL_HOST: ntfy.neo.ixvd.net VIRTUAL_HOST: push.ixvd.net
LETSENCRYPT_HOST: ntfy.neo.ixvd.net LETSENCRYPT_HOST: push.ixvd.net
volumes: volumes:
- /srv/ntfy/config:/etc/ntfy
- /srv/ntfy/data:/var/cache/ntfy - /srv/ntfy/data:/var/cache/ntfy
networks: networks:
- proxy - proxy