mirror of
https://github.com/casjaysdevdocker/opengist
synced 2026-06-23 20:01:02 -04:00
d4764c5f7ab09b5f9f0ac3ee2f0be9a7b97ef93b
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/etc/docker/init.d/00-opengist.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 Welcome to opengist 🚀
opengist README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update opengist
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/opengist/volumes"
git clone "https://github.com/dockermgr/opengist" "$HOME/.local/share/CasjaysDev/dockermgr/opengist"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/opengist/rootfs/." "$HOME/.local/share/srv/docker/opengist/volumes/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-opengist \
--hostname opengist \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-opengist/volumes/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-opengist/volumes/config:/config:z" \
-p 80:80 \
-p 2222:22 \
casjaysdevdocker/opengist:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/opengist
container_name: casjaysdevdocker-opengist
environment:
- TZ=America/New_York
- HOSTNAME=opengist
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-opengist/volumes/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-opengist/volumes/config:/config:z"
ports:
- 80:80
- 2222:22
restart: always
Get source files
dockermgr download src casjaysdevdocker/opengist
OR
git clone "https://github.com/casjaysdevdocker/opengist" "$HOME/Projects/github/casjaysdevdocker/opengist"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/opengist"
buildx
Authors
Description
Languages
Shell
93%
Dockerfile
7%