From 62fae0a0583db055f4c95d80d8eb254fc4492011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 26 Jan 2023 08:22:41 +0100 Subject: [PATCH] ntfy: move to main --- docker-compose.yml | 18 ++++++++++++++++++ ntfy.yml | 36 +++++++++++++++++++----------------- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6076646..69eff45 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,5 +86,23 @@ services: profiles: - 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: timetracker-static: diff --git a/ntfy.yml b/ntfy.yml index 982d6e0..834e651 100644 --- a/ntfy.yml +++ b/ntfy.yml @@ -1,18 +1,20 @@ --- - version: "2.1" - services: - 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}" - restart: unless-stopped - \ No newline at end of file +version: "2.1" +services: + 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