mirror of
https://github.com/casjaysdevdocker/jekyll
synced 2025-12-08 08:52:11 -05:00
Some checks failed
release-tag / release-image (push) Failing after 1m5s
Dockerfile .env.scripts .gitattributes .gitea/workflows/docker.yaml .gitignore LICENSE.md README.md rootfs/root/docker/setup/00-init.sh rootfs/root/docker/setup/01-system.sh rootfs/root/docker/setup/02-packages.sh rootfs/root/docker/setup/03-files.sh rootfs/root/docker/setup/04-users.sh rootfs/root/docker/setup/05-custom.sh rootfs/root/docker/setup/06-post.sh rootfs/root/docker/setup/07-cleanup.sh rootfs/usr/local/bin/copy rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/bin/symlink rootfs/usr/local/etc/docker/functions/entrypoint.sh 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
74 lines
1.3 KiB
Markdown
74 lines
1.3 KiB
Markdown
# Jekyll Docker Container with GitHub Pages Support
|
|
|
|
Docker container for Jekyll static site generator with full GitHub Pages support.
|
|
|
|
## Features
|
|
|
|
- Based on Ruby 3.3 Alpine
|
|
- Jekyll with latest stable version
|
|
- Full GitHub Pages gem support
|
|
- Bundler for dependency management
|
|
- WEBrick for local serving
|
|
- Multi-architecture support (amd64, arm64)
|
|
|
|
## Usage
|
|
|
|
### Run Jekyll Server
|
|
|
|
```bash
|
|
docker run -d \
|
|
-p 4000:4000 \
|
|
-v $(pwd):/srv/jekyll \
|
|
casjaysdevdocker/jekyll
|
|
```
|
|
|
|
### Create New Site
|
|
|
|
```bash
|
|
docker run --rm \
|
|
-v $(pwd):/srv/jekyll \
|
|
casjaysdevdocker/jekyll \
|
|
jekyll new my-site
|
|
```
|
|
|
|
### Build Site
|
|
|
|
```bash
|
|
docker run --rm \
|
|
-v $(pwd):/srv/jekyll \
|
|
casjaysdevdocker/jekyll \
|
|
jekyll build
|
|
```
|
|
|
|
### Serve with Live Reload
|
|
|
|
```bash
|
|
docker run -d \
|
|
-p 4000:4000 \
|
|
-v $(pwd):/srv/jekyll \
|
|
casjaysdevdocker/jekyll \
|
|
jekyll serve --host 0.0.0.0 --livereload
|
|
```
|
|
|
|
## Environment Variables
|
|
|
|
- `LANG_VERSION` - Jekyll version (default: latest)
|
|
- `SERVICE_PORT` - Port to expose (default: 4000)
|
|
|
|
## Volumes
|
|
|
|
- `/srv/jekyll` - Jekyll site directory
|
|
- `/usr/local/share/template-files` - Template files
|
|
|
|
## Ports
|
|
|
|
- `4000` - Jekyll development server
|
|
|
|
## GitHub Pages
|
|
|
|
This container includes the `github-pages` gem which ensures compatibility with GitHub Pages deployment.
|
|
|
|
## License
|
|
|
|
MIT - CasjaysDev
|