From 532f5a9ad19186251d3de14d518083191e64245d Mon Sep 17 00:00:00 2001 From: faulty Date: Sun, 26 Feb 2023 17:49:25 +0100 Subject: [PATCH] ntfy cusrom --- custom/ntfy/Dockerfile | 3 +++ custom/ntfy/server.yml | 6 ++++++ docker-compose.core.yml | 7 +++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 custom/ntfy/Dockerfile create mode 100644 custom/ntfy/server.yml diff --git a/custom/ntfy/Dockerfile b/custom/ntfy/Dockerfile new file mode 100644 index 0000000..6c06d43 --- /dev/null +++ b/custom/ntfy/Dockerfile @@ -0,0 +1,3 @@ +FROM binwiederhier/ntfy + +COPY ./server.yml /etc/ntfy/server.yml \ No newline at end of file diff --git a/custom/ntfy/server.yml b/custom/ntfy/server.yml new file mode 100644 index 0000000..114b4d2 --- /dev/null +++ b/custom/ntfy/server.yml @@ -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" \ No newline at end of file diff --git a/docker-compose.core.yml b/docker-compose.core.yml index 955bd36..c7b0a23 100644 --- a/docker-compose.core.yml +++ b/docker-compose.core.yml @@ -12,15 +12,14 @@ services: - internal ntfy: - image: binwiederhier/ntfy + build: custom/ntfy container_name: ntfy command: - serve environment: - VIRTUAL_HOST: ntfy.neo.ixvd.net - LETSENCRYPT_HOST: ntfy.neo.ixvd.net + VIRTUAL_HOST: push.ixvd.net + LETSENCRYPT_HOST: push.ixvd.net volumes: - - /srv/ntfy/config:/etc/ntfy - /srv/ntfy/data:/var/cache/ntfy networks: - proxy