diff --git a/compose.yaml b/compose.yaml index 7ea3090..963abfe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,19 +1,12 @@ services: ntfy: - image: binwiederhier/ntfy:latest + image: binwiederhold/ntfy container_name: ntfy - restart: unless-stopped - command: serve + restart: always + environment: + - NTFY_BASE_URL=https://ntfy.sascha-lutz.de 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 - -networks: - ntfy-net: - driver: bridge + - ./cache:/var/cache/ntfy + - ./config:/etc/ntfy