mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2026-06-23 20:01:01 -04:00
5b96de5b86b88fd13c8b296eed498d7d53eb42e9
Migrate cherokee Docker image to the new build-time config architecture. - rootfs/root/docker/setup/03-files.sh: rewrite to canonical form with /tmp/bin, /tmp/var, /tmp/etc, /tmp/usr handlers - rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to latest template - rootfs/usr/local/etc/docker/init.d/*.sh: fix $(basename) UUOC; move inline comments above code lines - rootfs/tmp/etc/: add service config files (cherokee ) deployed to /etc/ at build time - rootfs/tmp/usr/: add default web content deployed to /usr/local/share/ at build time - rootfs/usr/local/share/template-files/: delete; config now deployed via /tmp/etc/ and /tmp/usr/ at build time rootfs/root/docker/setup/03-files.sh rootfs/tmp/ rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/cherokee/cherokee.conf rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh rootfs/usr/local/share/template-files/config/env/examples/addresses.sh rootfs/usr/local/share/template-files/config/env/examples/certbot.sh rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh rootfs/usr/local/share/template-files/config/env/examples/global.sh rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh rootfs/usr/local/share/template-files/config/env/examples/networking.sh rootfs/usr/local/share/template-files/config/env/examples/other.sh rootfs/usr/local/share/template-files/config/env/examples/php.sh rootfs/usr/local/share/template-files/config/env/examples/postgres.sh rootfs/usr/local/share/template-files/config/env/examples/redis.sh rootfs/usr/local/share/template-files/config/env/examples/services.sh rootfs/usr/local/share/template-files/config/env/examples/ssl.sh rootfs/usr/local/share/template-files/config/env/examples/supabase.sh rootfs/usr/local/share/template-files/config/env/examples/webservers.sh rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh rootfs/usr/local/share/template-files/config/.gitkeep rootfs/usr/local/share/template-files/data/.gitkeep rootfs/usr/local/share/template-files/data/htdocs/cgi-bin/.gitkeep rootfs/usr/local/share/template-files/data/htdocs/www/404.html rootfs/usr/local/share/template-files/data/htdocs/www/css/bootstrap.min.css rootfs/usr/local/share/template-files/data/htdocs/www/css/errorpages.css rootfs/usr/local/share/template-files/data/htdocs/www/css/index.css rootfs/usr/local/share/template-files/data/htdocs/www/favicon.ico rootfs/usr/local/share/template-files/data/htdocs/www/images/403.png rootfs/usr/local/share/template-files/data/htdocs/www/images/404.gif rootfs/usr/local/share/template-files/data/htdocs/www/images/bg.png rootfs/usr/local/share/template-files/data/htdocs/www/images/favicon.ico rootfs/usr/local/share/template-files/data/htdocs/www/images/icon.png rootfs/usr/local/share/template-files/data/htdocs/www/images/icon.svg rootfs/usr/local/share/template-files/data/htdocs/www/index.html rootfs/usr/local/share/template-files/data/htdocs/www/info.php rootfs/usr/local/share/template-files/data/htdocs/www/js/app.js rootfs/usr/local/share/template-files/data/htdocs/www/js/bootstrap.min.js rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/homepage.js rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/isup.js rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/loaddomain.js rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/scale.fix.js rootfs/usr/local/share/template-files/data/htdocs/www/js/jquery/default.js rootfs/usr/local/share/template-files/data/htdocs/www/js/passprotect.min.js rootfs/usr/local/share/template-files/data/htdocs/www/server-health rootfs/usr/local/share/template-files/data/htdocs/www/server-health.json rootfs/usr/local/share/template-files/data/htdocs/www/site.webmanifest rootfs/usr/local/share/template-files/defaults/.gitkeep
👋 Welcome to cherokee 🚀
cherokee 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 cherokee
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/cherokee/cherokee/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/cherokee/rootfs"
git clone "https://github.com/dockermgr/cherokee" "$HOME/.local/share/CasjaysDev/dockermgr/cherokee"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/cherokee/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-cherokee-latest \
--hostname cherokee \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/cherokee:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/cherokee
container_name: casjaysdevdocker-cherokee
environment:
- TZ=America/New_York
- HOSTNAME=cherokee
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/cherokee/cherokee/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/cherokee/cherokee/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/cherokee
OR
git clone "https://github.com/casjaysdevdocker/cherokee" "$HOME/Projects/github/casjaysdevdocker/cherokee"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/cherokee"
buildx
Authors
Description
Languages
Shell
83.2%
Dockerfile
8.1%
CSS
3.9%
HTML
2.8%
Hack
1.1%
Other
0.9%