diff --git a/compose.yaml b/compose.yaml index 7ea3090..c315110 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,19 +1,11 @@ services: ntfy: image: binwiederhier/ntfy:latest - container_name: ntfy - restart: unless-stopped - command: serve ports: - "8085:80" - environment: - - NTFY_BASE_URL=http://10.4.1.110:8085 - - NTFY_CACHE_FILE=/var/cache/ntfy/cache.db volumes: - - ./data:/var/cache/ntfy - networks: - - ntfy-net + - ntfy-cache:/var/cache/ntfy + restart: unless-stopped -networks: - ntfy-net: - driver: bridge +volumes: + ntfy-cache: