mirror of
https://github.com/casjaysdevdocker/stikked
synced 2026-07-25 08:11:39 -04:00
ecd48e9261f2c707d61314c808e6bf21bfda66ad
The .local.sh block defined stub functions in memory but never wrote the file to disk, so __file_exists_with_content always failed and __create_service_env returned non-zero on every run. Fix: use a heredoc to write the stub functions into .local.sh. - rootfs/usr/local/etc/docker/init.d/01-php-fpm.sh: write .local.sh via heredoc in __create_service_env; bump version to 202606261600-git rootfs/usr/local/etc/docker/init.d/01-php-fpm.sh rootfs/usr/local/etc/docker/init.d/99-nginx.sh
👋 Welcome to stikked 🚀
stikked 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 stikked
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/stikked/stikked/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/stikked/rootfs"
git clone "https://github.com/dockermgr/stikked" "$HOME/.local/share/CasjaysDev/dockermgr/stikked"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/stikked/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-stikked-latest \
--hostname stikked \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/stikked:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/stikked
container_name: casjaysdevdocker-stikked
environment:
- TZ=America/New_York
- HOSTNAME=stikked
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/stikked/stikked/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/stikked/stikked/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/stikked
OR
git clone "https://github.com/casjaysdevdocker/stikked" "$HOME/Projects/github/casjaysdevdocker/stikked"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/stikked"
buildx
Authors
Description
Languages
Shell
91.7%
Dockerfile
5.7%
PHP
2.6%