diff --git a/.docker-compose.yml.swp b/.docker-compose.yml.swp index b02ac0fb4ebf060407024b94c7dfe8b0437eaf8c..f03b28afd2ad0e27a343fba373f165192523a335 100644 Binary files a/.docker-compose.yml.swp and b/.docker-compose.yml.swp differ diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..0af94e5c3c6d6722532219254907983778c6c25c --- /dev/null +++ b/Readme.md @@ -0,0 +1,38 @@ +# PICO CMS docker + +## Install + +1. clone this repository +2. Copy `.env.sample` to `.env` and adapt to your needs +3. `docker-compose up` + +## Usage + +1. Put your contents in `content` directory +2. Put images etc in `assets` directory + +### Customization + +#### Plugins / themes + +To add plugins and / or themes : + +1. Paste your themes / plugins in the `themes` / `plugins` directory +2. create a `custom.yml` file like the following : + +```yaml +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" +``` + +3. Update `.env` to add `:custom.yml` in the `COMPOSE_FILE` variable +4. Run `docker-compose down && docker-compose up` + +#### Config + +Copy `config/config.yml.template` to `config/config.yml` and adapt to your needs diff --git a/docker-compose.yml b/docker-compose.yml index 18b86feac481074bb135fc018fbeec2af8918add..2e32794d220b0410f4d1f4aa88769cb6d8d2f221 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,3 @@ services: - "./assets:/var/www/html/assets" - "./content:/var/www/html/content" - "./config:/var/www/html/config" - - "./theme:/var/www/html/themes/custom"