Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neoskop/mgnl-on-k8s
Run Magnolia CMS on Kubernetes
https://github.com/neoskop/mgnl-on-k8s
helm kubernetes magnolia magnolia-cms
Last synced: about 11 hours ago
JSON representation
Run Magnolia CMS on Kubernetes
- Host: GitHub
- URL: https://github.com/neoskop/mgnl-on-k8s
- Owner: neoskop
- License: apache-2.0
- Created: 2020-02-04T11:32:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-11T05:39:33.000Z (12 days ago)
- Last Synced: 2025-01-11T06:25:46.526Z (12 days ago)
- Topics: helm, kubernetes, magnolia, magnolia-cms
- Language: Shell
- Homepage:
- Size: 382 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magnolia on Kubernetes
A mono repo to setup Magnolia with custom light modules in Kubernetes fast.
## Quickstart
```sh
# Specify light module repo
$ export [email protected]/example.git
# Specify path to light module directory
$ export SOURCE_DIR=/
# Specify private key in case of private repository
$ export SSH_PRIVATE_KEY=$(cat some/dir/id_rsa | base64)
# Install Magnolia with a single MySQL instance to the current cluster
$ ./scripts/quickstart.sh scripts/quickstart.sh
```## Structure
- `helm` contains a helm chart to setup a working Magnolia installation which is per default based on our custom images
- `images` contains all custom images that the helm chart uses with the following functions:
- `light-module-updater` polls a Git repository containing light modules and updates the light modules of the running Magnolia instances without restarting them
- `runtime-env` contains a Tomcat servlet container and a small Java app to wait for the database to become available which is executed before Tomcat
- `webapp` is a container that just copies a custom Magnolia WAR to the runtime environment.For more details check the individual README files in the subdirectories.
## Requirements
Building the images:
- Docker 17.05+
To use the helm chart:
- Helm 2+
- Kubernetes 1.13+To use the release and update scripts:
- jq
- yq
- git
- curl
- helm
- cr
- npm
- yarnTo use the `generate-activation-keypair.sh` script:
- openssl
- xxd
- tr## License
This project is under the terms of the Apache License, Version 2.0. A [copy of this license](./LICENSE) is included with the sources.