diff --git a/compose.yaml b/compose.yaml index c315110..7ea3090 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,11 +1,19 @@ 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: - - ntfy-cache:/var/cache/ntfy - restart: unless-stopped + - ./data:/var/cache/ntfy + networks: + - ntfy-net -volumes: - ntfy-cache: +networks: + ntfy-net: + driver: bridge