ntfy cusrom
This commit is contained in:
parent
f732d95499
commit
532f5a9ad1
3 changed files with 12 additions and 4 deletions
3
custom/ntfy/Dockerfile
Normal file
3
custom/ntfy/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM binwiederhier/ntfy
|
||||||
|
|
||||||
|
COPY ./server.yml /etc/ntfy/server.yml
|
6
custom/ntfy/server.yml
Normal file
6
custom/ntfy/server.yml
Normal 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"
|
|
@ -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
|
||||||
|
|
Reference in a new issue