Skip to content
Snippets Groups Projects
Verified Commit ecbded62 authored by David Beniamine's avatar David Beniamine
Browse files

Stack first draft

parent a09e02b7
Branches
No related tags found
No related merge requests found
No preview for this file type
# 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
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment