🗃️ 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:34:58 -04:00
parent 5df835f513
commit b556b4cc1d
+6 -6
View File
@@ -19,17 +19,17 @@ dockermgr update gotify
## Install and run container ## Install and run container
```shell ```shell
mkdir -p "$HOME/.local/share/srv/docker/gotify/rootfs" mkdir -p "$HOME/.local/share/srv/docker/gotify/volumes"
git clone "https://github.com/dockermgr/gotify" "$HOME/.local/share/CasjaysDev/dockermgr/gotify" git clone "https://github.com/dockermgr/gotify" "$HOME/.local/share/CasjaysDev/dockermgr/gotify"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/gotify/rootfs/." "$HOME/.local/share/srv/docker/gotify/rootfs/" cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/gotify/rootfs/." "$HOME/.local/share/srv/docker/gotify/volumes/"
docker run -d \ docker run -d \
--restart always \ --restart always \
--privileged \ --privileged \
--name casjaysdevdocker-gotify \ --name casjaysdevdocker-gotify \
--hostname gotify \ --hostname gotify \
-e TZ=${TIMEZONE:-America/New_York} \ -e TZ=${TIMEZONE:-America/New_York} \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/rootfs/data:/data:z \ -v $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/volumes/data:/data:z \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/rootfs/config:/config:z \ -v $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/volumes/config:/config:z \
-p 80:80 \ -p 80:80 \
casjaysdevdocker/gotify:latest casjaysdevdocker/gotify:latest
``` ```
@@ -46,8 +46,8 @@ services:
- TZ=America/New_York - TZ=America/New_York
- HOSTNAME=gotify - HOSTNAME=gotify
volumes: volumes:
- $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/rootfs/data:/data:z - $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/volumes/data:/data:z
- $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/rootfs/config:/config:z - $HOME/.local/share/srv/docker/casjaysdevdocker-gotify/volumes/config:/config:z
ports: ports:
- 80:80 - 80:80
restart: always restart: always