initial commit
This commit is contained in:
1
.env.example
Normal file
1
.env.example
Normal file
@@ -0,0 +1 @@
|
|||||||
|
NTFY_DOMAIN=
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
services:
|
||||||
|
ntfy:
|
||||||
|
image: binwiederhier/ntfy
|
||||||
|
container_name: ntfy
|
||||||
|
command:
|
||||||
|
- serve
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
volumes:
|
||||||
|
- ./ntfy/cache:/var/cache/ntfy
|
||||||
|
- ./ntfy/etc:/etc/ntfy
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.ntfy.rule=Host(`${NTFY_DOMAIN}`)"
|
||||||
|
- "traefik.http.routers.ntfy.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.ntfy.tls=true"
|
||||||
|
- "traefik.http.routers.ntfy.tls.certresolver=letsencrypt"
|
||||||
|
- "traefik.http.services.ntfy.loadbalancer.server.port=8080"
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- traefik
|
||||||
|
networks:
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user