Gitea configuration¶
Gitea configuration is managed via a configuration file, typically located at custom/conf/app.ini. While the specific syntax details are not provided in the source, the primary reference for available settings and their structure is the example configuration file hosted in the official repository^[400-devops-10-version-control-readme.md].
Key Locations¶
- Configuration Path: The standard path for the configuration file is
custom/conf/app.ini^[400-devops-10-version-control-readme.md]. - Example Source: Users needing to configure their instance should refer to
https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini^[400-devops-10-version-control-readme.md].
Local Testing Setup¶
When configuring a local Gitea instance, it is common to modify the system's hosts file to map server hostnames to the local machine^[400-devops-10-version-control-readme.md]. This facilitates local testing and interaction with services such as a Drone CI server or the Gitea server itself^[400-devops-10-version-control-readme.md].
Example Hosts Entries¶
To route traffic locally, one can add entries like the following to the hosts file^[400-devops-10-version-control-readme.md]:
127.0.0.1 drone-server
127.0.0.1 gitea-server
Related Concepts¶
- DevOps
- [[Version Control]]
Sources¶
^[400-devops-10-version-control-readme.md]