🗃️ 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:41 -04:00
parent bc3cf6543b
commit 42b7092d01
+4 -4
View File
@@ -19,8 +19,8 @@ dockermgr update commitment_temp
## Install and run container ## Install and run container
```shell ```shell
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs" dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/volumes"
mkdir -p "/var/lib/srv/$USER/docker/commitment_temp/rootfs" mkdir -p "/var/lib/srv/$USER/docker/commitment_temp/volumes"
git clone "https://github.com/dockermgr/commitment_temp" "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp" git clone "https://github.com/dockermgr/commitment_temp" "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp/rootfs/." "$dockerHome/" cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp/rootfs/." "$dockerHome/"
docker run -d \ docker run -d \
@@ -47,8 +47,8 @@ services:
- TZ=America/New_York - TZ=America/New_York
- HOSTNAME=commitment_temp - HOSTNAME=commitment_temp
volumes: volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs/data:/data:z" - "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/volumes/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs/config:/config:z" - "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/volumes/config:/config:z"
ports: ports:
- 80:80 - 80:80
restart: always restart: always