mirror of
https://github.com/casjaysdevdocker/tftpd
synced 2025-01-18 00:34:22 -05:00
casjay
6318dc754e
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/etc/docker/init.d/00-tftpd.sh rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
👋 Welcome to tftpd 🚀
tftpd 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 tftpd
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/tftpd/rootfs"
git clone "https://github.com/dockermgr/tftpd" "$HOME/.local/share/CasjaysDev/dockermgr/tftpd"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/tftpd/rootfs/." "$HOME/.local/share/srv/docker/tftpd/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-tftpd \
--hostname tftpd \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-tftpd/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-tftpd/rootfs/config:/config:z" \
-p 80:80 \
casjaysdevdocker/tftpd:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/tftpd
container_name: casjaysdevdocker-tftpd
environment:
- TZ=America/New_York
- HOSTNAME=tftpd
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-tftpd/rootfs/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-tftpd/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/tftpd
OR
git clone "https://github.com/casjaysdevdocker/tftpd" "$HOME/Projects/github/casjaysdevdocker/tftpd"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/tftpd"
buildx
Authors
Description
Languages
Shell
91.3%
Dockerfile
8.7%