Skip to content

Run Wagtail CMS easily with our Docker and Kubernetes starter kit. Quick setup, persistent storage, and no manual configuration needed. πŸŒŸπŸš€

License

Notifications You must be signed in to change notification settings

55pizzy/wagtail

Repository files navigation

Wagtail: Run Your Simple Wagtail CMS Website with Docker & Kubernetes

Wagtail CMS Docker Kubernetes

Table of Contents

Overview

Wagtail is a powerful content management system (CMS) that makes it easy to create and manage websites. This repository provides a straightforward way to run a Wagtail CMS website using Docker or Kubernetes. Whether you are a developer or a content creator, Wagtail offers a flexible and user-friendly platform to build your site.

You can download the latest release from here. Follow the instructions to execute the necessary files.

Features

  • Simple setup with Docker and Kubernetes.
  • Built-in support for images and media.
  • Customizable templates and themes.
  • User-friendly admin interface.
  • Support for blogging and content management.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/55pizzy/wagtail.git
    cd wagtail
  2. Download the latest release from here and execute the necessary files.

Usage

After setting up the project, you can run your Wagtail CMS website. The following sections explain how to use Docker and Kubernetes.

Configuration

You can customize your Wagtail installation by modifying the settings.py file. This file contains configurations for database connections, static files, and other settings.

Deployment

Using Docker

To run Wagtail with Docker, follow these steps:

  1. Build the Docker image:

    docker build -t wagtail-cms .
  2. Run the Docker container:

    docker run -d -p 8000:8000 wagtail-cms
  3. Access your Wagtail site at http://localhost:8000.

Using Kubernetes

To deploy Wagtail on Kubernetes, follow these steps:

  1. Create a deployment file wagtail-deployment.yaml:

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: wagtail
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: wagtail
      template:
        metadata:
          labels:
            app: wagtail
        spec:
          containers:
          - name: wagtail
            image: wagtail-cms
            ports:
            - containerPort: 8000
  2. Apply the deployment:

    kubectl apply -f wagtail-deployment.yaml
  3. Expose the service:

    kubectl expose deployment wagtail --type=LoadBalancer --port=8000
  4. Access your Wagtail site using the service IP.

Contributing

We welcome contributions! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Links

For more information and to download the latest release, visit here.

About

Run Wagtail CMS easily with our Docker and Kubernetes starter kit. Quick setup, persistent storage, and no manual configuration needed. πŸŒŸπŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •