summaryrefslogtreecommitdiff
path: root/ntfy/docker-compose.yml
blob: d794baf9ccdb48bae24b0177b179caaf988bcff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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: