mirror of
https://github.com/casjaysdevdocker/commitment
synced 2025-10-07 10:17:26 -04:00
Dockerfile .dockerignore .gitattributes .gitignore LICENSE.md README.md rootfs/.gitea/ rootfs/root/ rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/
2.1 KiB
2.1 KiB
👋 Welcome to commitment_temp 🚀
commitment_temp 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 commitment_temp
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/commitment_temp/rootfs"
git clone "https://github.com/dockermgr/commitment_temp" "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/commitment_temp/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-commitment_temp-latest \
--hostname commitment_temp \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/commitment_temp:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/commitment_temp
container_name: casjaysdevdocker-commitment_temp
environment:
- TZ=America/New_York
- HOSTNAME=commitment_temp
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/commitment_temp/commitment_temp/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/commitment_temp
OR
git clone "https://github.com/casjaysdevdocker/commitment_temp" "$HOME/Projects/github/casjaysdevdocker/commitment_temp"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/commitment_temp"
buildx