mirror of
https://github.com/casjaysdevdocker/proftp
synced 2026-06-24 02:01:04 -04:00
c723449b0e9632a95b8e176b84076093777e08ce
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/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 Welcome to proftp 🚀
proftp 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 proftp
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/proftp/volumes"
git clone "https://github.com/dockermgr/proftp" "$HOME/.local/share/CasjaysDev/dockermgr/proftp"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/proftp/rootfs/." "$HOME/.local/share/srv/docker/proftp/volumes/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-proftp \
--hostname proftp \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-proftp/volumes/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-proftp/volumes/config:/config:z" \
-p 80:80 \
casjaysdevdocker/proftp:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/proftp
container_name: casjaysdevdocker-proftp
environment:
- TZ=America/New_York
- HOSTNAME=proftp
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-proftp/volumes/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-proftp/volumes/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/proftp
OR
git clone "https://github.com/casjaysdevdocker/proftp" "$HOME/Projects/github/casjaysdevdocker/proftp"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/proftp"
buildx
Authors
Description
Languages
Shell
90.7%
Dockerfile
9.3%