mirror of
https://github.com/casjaysdevdocker/python
synced 2026-07-25 08:11:38 -04:00
📝 Migrate /var/lib/srv docker paths to /srv in README 📝
python-3.10 / release-python-3_10 (push) Has been cancelled
python-3.11 / release-python-3_11 (push) Has been cancelled
python-3.12 / release-python-3_12 (push) Has been cancelled
python-3.13 / release-python-3_13 (push) Has been cancelled
python-3.9 / release-python-3_9 (push) Has been cancelled
release-tag / release-image (push) Has been cancelled
python-3 / release-python-3 (push) Has been cancelled
python / release-python (push) Has been cancelled
python-3.10 / release-python-3_10 (push) Has been cancelled
python-3.11 / release-python-3_11 (push) Has been cancelled
python-3.12 / release-python-3_12 (push) Has been cancelled
python-3.13 / release-python-3_13 (push) Has been cancelled
python-3.9 / release-python-3_9 (push) Has been cancelled
release-tag / release-image (push) Has been cancelled
python-3 / release-python-3 (push) Has been cancelled
python / release-python (push) Has been cancelled
Update volume mount examples and dockerHome variable from the old /var/lib/srv/$USER/docker layout to /srv/$USER/docker. - README.md: update volume path references to /srv/$USER/docker README.md rootfs/usr/local/bin/copy rootfs/usr/local/bin/healthcheck rootfs/usr/local/bin/symlink
This commit is contained in:
@@ -19,8 +19,8 @@ dockermgr update python
|
||||
## Install and run container
|
||||
|
||||
```shell
|
||||
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs"
|
||||
mkdir -p "/var/lib/srv/$USER/docker/python/rootfs"
|
||||
dockerHome="/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs"
|
||||
mkdir -p "/srv/$USER/docker/python/rootfs"
|
||||
git clone "https://github.com/dockermgr/python" "$HOME/.local/share/CasjaysDev/dockermgr/python"
|
||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/python/rootfs/." "$dockerHome/"
|
||||
docker run -d \
|
||||
@@ -47,8 +47,8 @@ services:
|
||||
- TZ=America/New_York
|
||||
- HOSTNAME=python
|
||||
volumes:
|
||||
- "/var/lib/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs/data:/data:z"
|
||||
- "/var/lib/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs/config:/config:z"
|
||||
- "/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs/data:/data:z"
|
||||
- "/srv/$USER/docker/casjaysdevdocker/python/python/latest/rootfs/config:/config:z"
|
||||
ports:
|
||||
- 80:80
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user