mirror of
https://github.com/casjaysdevdocker/ifconfig
synced 2026-07-25 14:11:40 -04:00
main
ifconfig / release-ifconfig (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
👋 Welcome to ifconfig 🚀
ifconfig 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 ifconfig
Install and run container
dockerHome="/srv/$USER/docker/casjaysdevdocker/ifconfig/ifconfig/latest/rootfs"
mkdir -p "/srv/$USER/docker/ifconfig/rootfs"
git clone "https://github.com/dockermgr/ifconfig" "$HOME/.local/share/CasjaysDev/dockermgr/ifconfig"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ifconfig/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-ifconfig-latest \
--hostname ifconfig \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/ifconfig:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/ifconfig
container_name: casjaysdevdocker-ifconfig
environment:
- TZ=America/New_York
- HOSTNAME=ifconfig
volumes:
- "/srv/$USER/docker/casjaysdevdocker/ifconfig/ifconfig/latest/rootfs/data:/data:z"
- "/srv/$USER/docker/casjaysdevdocker/ifconfig/ifconfig/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/ifconfig
OR
git clone "https://github.com/casjaysdevdocker/ifconfig" "$HOME/Projects/github/casjaysdevdocker/ifconfig"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/ifconfig"
buildx
Authors
Description
Languages
Shell
84.3%
HTML
9.5%
Dockerfile
6.2%