4.7 KiB
Home assistant add-on: Grav
Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!
About
Grav is a free software, self-hosted content management system (CMS) written in the PHP programming language and based on the Symfony web application framework. It uses a flat file database for both backend and frontend. This addon is based on the docker image https://github.com/linuxserver/docker-grav
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other add-on.
- Add my add-ons repository to your home assistant instance (in supervisor addons store at top right, or click button below if you have configured my HA)
- Install this add-on.
- Click the
Savebutton to store your configuration. - Set the add-on options to your preferences
- Start the add-on.
- Check the logs of the add-on to see if everything went well.
- Open the webUI and adapt the software options
Configuration
Use the add-on env_vars option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
Webui can be found at http://homeassistant:9191. Configurations can be done through the app webUI, except for the following options.
Setup Steps
- Access the web interface after starting the addon
- Follow the Grav setup wizard for initial configuration
- Install themes/plugins through the admin panel
- Custom themes can be placed in
/share/grav/www/user
Options
| Option | Type | Default | Description |
|---|---|---|---|
PGID |
int | 1000 |
Group ID for file permissions |
PUID |
int | 1000 |
User ID for file permissions |
TZ |
str | Timezone (e.g., Europe/London) |
Example Configuration
PGID: 1000
PUID: 1000
TZ: "Europe/London"
Adding Themes/Skeletons
Place custom themes and skeletons in /share/grav/www/user/ directory:
- Themes:
/share/grav/www/user/themes/ - Plugins:
/share/grav/www/user/plugins/ - Pages:
/share/grav/www/user/pages/
Support
Create an issue on github

