mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
a64450ae9d
Replace VitePress/Vue stack with Fumadocs MDX, TanStack Start, React 19, and Vite. Migrate all documentation content to MDX under content/docs/. Add full src/ app with React components, routing, search, and API page. Remove Korrektly integration from CI/CD workflows, Dockerfile, and env vars. Update build pipeline to output to .output/public instead of docs/.vitepress/dist.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
---
|
|
title: Jekyll
|
|
description: Deploy Jekyll static sites on Coolify using Nixpacks or Dockerfile with Ruby, Nginx, and automated build processes.
|
|
---
|
|
|
|
# Jekyll
|
|
|
|
Jekyll is a simple, blog-aware, static site generator for personal, project, or organization sites.
|
|
|
|
## Deploy with Nixpacks
|
|
|
|
Nixpacks needs a few prerequisites in your source code to deploy your Jekyll application. More info [here](https://nixpacks.com/docs/providers/ruby).
|
|
|
|
## Deploy with Dockerfile
|
|
|
|
If you want simplicity, you can use a Dockerfile to deploy your Jekyll application.
|
|
|
|
### Prerequisites
|
|
|
|
1. Set `Ports Exposes` field to `80`.
|
|
2. Create a `Dockerfile` in the root of your project with the following content:
|
|
|
|
```dockerfile
|
|
FROM ruby:3.1.1 AS builder
|
|
RUN apt-get update -qq && apt-get install -y build-essential nodejs
|
|
WORKDIR /srv/jekyll
|
|
COPY Gemfile Gemfile.lock ./
|
|
RUN bundle install
|
|
COPY . .
|
|
RUN chown 1000:1000 -R /srv/jekyll
|
|
RUN bundle exec jekyll build -d /srv/jekyll/_site
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=builder /srv/jekyll/_site /usr/share/nginx/html
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|
|
```
|
|
|
|
3. Make sure you have a `Gemfile` and `Gemfile.lock` in the root of your project.
|
|
4. Set the buildpack to `Dockerfile`.
|