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