4.7 KiB
⚠ Open Request : ✨ [REQUEST] Access to Gitea app.ini (opened 2025-06-10) by @UplandJacob
Home assistant add-on: Gitea
Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!
About
Gitea is a painless self-hosted all-in-one software development service, it includes Git hosting, code review, team collaboration, package registry and CI/CD. It is similar to GitHub, Bitbucket and GitLab.
Various tweaks and configuration options addition. This addon is based on the docker image.
Configuration
Webui can be found at http://homeassistant:PORT or through the sidebar using Ingress. Configurations can be done through the app webUI, except for the following options.
Options
| Option | Type | Default | Description |
|---|---|---|---|
ssl |
bool | false |
Enable HTTPS for the web interface |
certfile |
str | fullchain.pem |
SSL certificate file (must be located in /ssl) |
keyfile |
str | privkey.pem |
SSL key file (must be located in /ssl) |
APP_NAME |
str | Name of the Gitea application | |
DOMAIN |
str | Domain to be reached (default: homeassistant.local) | |
ROOT_URL |
str | Customize root URL (for specific routing needs) |
Example Configuration
ssl: false
certfile: "fullchain.pem"
keyfile: "privkey.pem"
APP_NAME: "Gitea for Homeassistant"
DOMAIN: "homeassistant.local"
ROOT_URL: "http://homeassistant.local:3000"
Custom Scripts and Environment Variables
This addon supports custom scripts and environment variables through the addon_config mapping:
- Custom scripts: See Running Custom Scripts in Addons
- env_vars option: Use the add-on
env_varsoption 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.
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.
- Add my Hass.io add-ons repository to your Hass.io instance.
- Install this add-on.
- Click the
Savebutton to store your configuration. - Start the add-on.
- Check the logs of the add-on to see if everything went well.
- Go to the webui, where you will initialize the app
- Restart the addon, to apply any option that should be applied
