wikijs - add custom css

This commit is contained in:
Ludovic Cartier 2024-06-26 11:09:58 +02:00
parent 41e35c2805
commit 2b3c5582bd
2 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,8 @@ Example variables
wikijs_db_name: db_example
wikijs_db_user: db_user
wikijs_db_password: 'please-vault-this-too'
wikijs_custom_css:
- custom.css
```
TODO

View File

@ -49,6 +49,11 @@ services:
volumes:
- wikijs__config:/config
- wikijs__data:/data
{% if wikijs_custom_css is defined %}
{% for file in wikijs_custom_css %}
- ./custom/css/{{ file }}:/app/wiki/assets/css/{{ file }}:ro
{% endfor %}
{% endif %}
ports:
- 3001:3000
networks: