https://github.com/klutchell/balena-gitea
A painless self-hosted Git service
https://github.com/klutchell/balena-gitea
Last synced: 5 months ago
JSON representation
A painless self-hosted Git service
- Host: GitHub
- URL: https://github.com/klutchell/balena-gitea
- Owner: klutchell
- Created: 2022-11-05T15:06:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T13:07:23.000Z (almost 2 years ago)
- Last Synced: 2025-11-02T14:38:05.600Z (8 months ago)
- Size: 172 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# balena-gitea
[Gitea](https://gitea.io/) - Git with a cup of tea
A painless self-hosted Git service.
## Getting Started
You can one-click-deploy this project to balena using the button below:
[](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/klutchell/balena-gitea)
## Manual Deployment
Alternatively, deployment can be carried out by manually creating a [balenaCloud account](https://dashboard.balena-cloud.com) and application,
flashing a device, downloading the project and pushing it via the [balena CLI](https://github.com/balena-io/balena-cli).
## Usage
Once your device joins the fleet you'll need to allow some time for it to download the various services.
When it's done you should be able to access the access the app at .
Documentation for Gitea can be found at .
### Installation Notes
- On the Initial Configuration page, set `Run As Username` to `gitea`
- On the Initial Configuration page, set `Server Domain` to the IP of your device
- On the Initial Configuration page, set `Gitea Base URL` to the IP of your device with the `http://` prefix
## Customization
### Environment Variables
| Name | Description |
| -------------- | ----------------------------------------------------------------------------------------------------------------- |
| `TZ` | Inform services of the [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) in your location. |
| `SET_HOSTNAME` | Set a custom hostname on application start. Default is `gitea`. |
Additional Gitea environment variables can be found in the [documentation](https://docs.gitea.io/en-us/install-with-docker/#managing-deployments-with-environment-variables).
## Extras
### restic
Rest easy knowing that your application data volumes are automatically and securely backed up to local or cloud storage!
### hostname
An utility block to set the hostname of devices running balenaOS. This service is expected to remain `Exited` during normal operation.
### tailscale
Add your device to your [Tailscale](https://tailscale.com/) network with this block!
## Contributing
Please open an issue or submit a pull request with any features, fixes, or changes.