summaryrefslogtreecommitdiff
path: root/ntfy/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ntfy/docker-compose.yml')
-rw-r--r--ntfy/docker-compose.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/ntfy/docker-compose.yml b/ntfy/docker-compose.yml
new file mode 100644
index 0000000..d794baf
--- /dev/null
+++ b/ntfy/docker-compose.yml
@@ -0,0 +1,23 @@
+services:
+ ntfy:
+ image: binwiederhier/ntfy
+ container_name: ntfy
+ command: serve
+ restart: unless-stopped
+ environment:
+ - TZ=Asia/Tokyo
+ volumes:
+ - ./server.yml:/etc/ntfy/server.yml:ro
+ - ntfy_cache:/var/cache/ntfy
+ - ntfy_lib:/var/lib/ntfy
+ networks:
+ - web
+
+networks:
+ web:
+ external: true
+ name: web
+
+volumes:
+ ntfy_cache:
+ ntfy_lib: