Kirby is a file‑based CMS Easy to setup. Easy to use. Flexible as hell.
714
Awesome flat file CMS.
Kirby is not free, you can develop locally with Docker and then when you move to production you must purchase a license – support great software!
https://github.com/getkirby/plainkit
To quickly launch and use the image on port 80:
$ docker run --name my-kirby-project -p 80:80 -d mecrawlings/getkirby-plainkit
If you want to work on a project or keep any changes you need to mount some directories:
$ docker run -d --rm -p 80:80 --name kirby2 \
-v /full/path/to/content:/var/www/localhost/htdocs/content/ \
-v /full/path/to/content:/var/www/localhost/htdocs/site/ \
-v /full/path/to/content:/var/www/localhost/htdocs/assets/ \
mecrawlings/kirby-plainkit
The three Kirby directories need to have the content inside them!
You can make this much simpler by…
By using docker-compose you can save yourself loads of typing, I like to create a project folder and add the docker-compose.yml like this:
version: '2'
services:
kirby:
image: mecrawlings/getkirby-plainkit
volumes:
- ./content:/var/www/html/content
- ./site:/var/www/html/site
- ./assets:/var/www/html/assets
ports:
- 80:80
Then just run docker-compose up from your project and your up and running. Changes made to the content, site or assets folder will persist.
I keep an up-to-date Kirby-Docker-compose project on github:
Content type
Image
Digest
Size
11.2 MB
Last updated
over 8 years ago
docker pull mecrawlings/kirby-plainkit