docker/ntfy/ntfy.yml

26 lines
571 B
YAML
Raw Normal View History

2023-11-17 00:45:24 +00:00
version: "2.3"
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
environment:
- TZ=America/New_York
volumes:
- ./var/cache/ntfy:/var/cache/ntfy
- ./etc/ntfy:/etc/ntfy
labels:
- "traefik.enable=true"
- "traefik.http.routers.ntfy.entrypoints=websecure"
- "traefik.http.routers.ntfy.rule=Host(`ntfy.meftimes.com`)"
- "traefik.http.services.ntfy.loadbalancer.server.port=80"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
external: true