From 9bd9f4db0f9cdf8829d1326a3c5b3977aa318f05 Mon Sep 17 00:00:00 2001 From: coolnsx Date: Sat, 3 Feb 2024 13:56:21 +0530 Subject: [PATCH] This is not a commit --- ntfy/.gitignore | 1 + ntfy/docker-compose.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 ntfy/.gitignore create mode 100644 ntfy/docker-compose.yml diff --git a/ntfy/.gitignore b/ntfy/.gitignore new file mode 100644 index 0000000..1ef22e0 --- /dev/null +++ b/ntfy/.gitignore @@ -0,0 +1 @@ +ntfy diff --git a/ntfy/docker-compose.yml b/ntfy/docker-compose.yml new file mode 100644 index 0000000..7df4b37 --- /dev/null +++ b/ntfy/docker-compose.yml @@ -0,0 +1,28 @@ +services: + ntfy: + image: binwiederhier/ntfy:latest + container_name: ntfy + command: + - serve + environment: + - TZ=Asia/Kolkata # optional: set desired timezone + - NTFY_BASE_URL=https://ntfy.coolans.dev + - NTFY_CACHE_FILE=/var/lib/ntfy/cache.db + - NTFY_AUTH_FILE=/var/lib/ntfy/auth.db + - NTFY_AUTH_DEFAULT_ACCESS=deny-all + - NTFY_LISTEN_HTTP=:7777 + - NTFY_BEHIND_PROXY=true + - NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments + - NTFY_ENABLE_LOGIN=true + - PUID=1001 + - PGID=1001 + user: 1001:1001 + volumes: + - ./ntfy:/var/lib/ntfy + restart: unless-stopped + networks: + - nginx_proxy + +networks: + nginx_proxy: + external: true