1
0
Fork 0

ntfy: move to main

This commit is contained in:
Lukáš Kucharczyk 2023-01-26 08:22:41 +01:00
parent e209b5a7c0
commit 62fae0a058
2 changed files with 37 additions and 17 deletions

View File

@ -86,5 +86,23 @@ services:
profiles: profiles:
- base - base
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/ntfy/cache:/var/cache/ntfy"
- "${DOCKER_STORAGE_PATH}/ntfy/config:/etc/ntfy"
ports:
- "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}"
profiles:
- base
- infra
restart: unless-stopped
volumes: volumes:
timetracker-static: timetracker-static:

View File

@ -1,18 +1,20 @@
--- ---
version: "2.1" version: "2.1"
services: services:
ntfy: ntfy:
image: binwiederhier/ntfy image: binwiederhier/ntfy
container_name: ntfy container_name: ntfy
command: command:
- serve - serve
user: ${PUID}:${PGID} user: ${PUID}:${PGID}
environment: environment:
- TZ=${TZ} - TZ=${TZ}
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/ntfy/cache:/var/cache/ntfy" - "${DOCKER_STORAGE_PATH}/ntfy/cache:/var/cache/ntfy"
- "${DOCKER_STORAGE_PATH}/ntfy/config:/etc/ntfy" - "${DOCKER_STORAGE_PATH}/ntfy/config:/etc/ntfy"
ports: ports:
- "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}" - "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}"
restart: unless-stopped profiles:
- base
- infra
restart: unless-stopped