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