PICO CMS docker
Install
- clone this repository
- Copy
.env.sample
to.env
and adapt to your needs docker-compose up
Usage
- Put your contents in
content
directory - Put images etc in
assets
directory
Cache
By default an HTML cache is enable with a lifetime of 7 days.
This cache is automatically clear upon file change or docker restart.
If the autoclear does not work, you can manually empty the cache by running ./pico cache
.
You can change this behavior in the config file.
Customization
Plugins / themes
To add plugins and / or themes :
- Paste your themes / plugins in the
themes
/plugins
directory - create a
custom.yml
file like the following :
version: "3"
services:
pico:
volumes:
- "./themes/tetras:/var/www/html/themes/tetras"
- "./plugins/Pico-RSS-Plugin/pico_rss:/var/www/html/themes/plugins/pico_rss"
- Update
.env
to add:custom.yml
in theCOMPOSE_FILE
variable - Run
docker-compose down && docker-compose up
Config
Copy config/config.yml.template
to config/config.yml
and adapt to your needs