🗃️ readme: rename rootfs/ to volumes/ for compose context 🗃️

Aligns README install/run snippets with the new convention split:
rootfs/ for Dockerfile-build content (image filesystem), volumes/
for docker-compose host bind-mounts. Compose mounts, host bind
paths, and runtime data dirs are renamed; Dockerfile COPY/ADD
sources (where present) are preserved.

README.md
This commit is contained in:
2026-05-05 14:35:29 -04:00
parent e29a3eb18f
commit 1cebcbf8f0
+6 -6
View File
@@ -19,17 +19,17 @@ dockermgr update ntfy
## Install and run container ## Install and run container
```shell ```shell
mkdir -p "$HOME/.local/share/srv/docker/ntfy/rootfs" mkdir -p "$HOME/.local/share/srv/docker/ntfy/volumes"
git clone "https://github.com/dockermgr/ntfy" "$HOME/.local/share/CasjaysDev/dockermgr/ntfy" git clone "https://github.com/dockermgr/ntfy" "$HOME/.local/share/CasjaysDev/dockermgr/ntfy"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ntfy/rootfs/." "$HOME/.local/share/srv/docker/ntfy/rootfs/" cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ntfy/rootfs/." "$HOME/.local/share/srv/docker/ntfy/volumes/"
docker run -d \ docker run -d \
--restart always \ --restart always \
--privileged \ --privileged \
--name casjaysdevdocker-ntfy \ --name casjaysdevdocker-ntfy \
--hostname ntfy \ --hostname ntfy \
-e TZ=${TIMEZONE:-America/New_York} \ -e TZ=${TIMEZONE:-America/New_York} \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/rootfs/data:/data:z \ -v $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/volumes/data:/data:z \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/rootfs/config:/config:z \ -v $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/volumes/config:/config:z \
-p 80:80 \ -p 80:80 \
casjaysdevdocker/ntfy:latest casjaysdevdocker/ntfy:latest
``` ```
@@ -46,8 +46,8 @@ services:
- TZ=America/New_York - TZ=America/New_York
- HOSTNAME=ntfy - HOSTNAME=ntfy
volumes: volumes:
- $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/rootfs/data:/data:z - $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/volumes/data:/data:z
- $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/rootfs/config:/config:z - $HOME/.local/share/srv/docker/casjaysdevdocker-ntfy/volumes/config:/config:z
ports: ports:
- 80:80 - 80:80
restart: always restart: always