Developer Tools solution
Run Gitea Locally with FlyEnv
Gitea can use a local database and a reverse proxy or web server for browser access. FlyEnv helps manage those services and Go tooling when a project builds Gitea from source.
Local project stack
Services FlyEnv can manage around Gitea
- Gitea service
- MySQL / MariaDB / PostgreSQL
- Nginx / Caddy
- Go
About Gitea
Gitea is an open-source self-hosted Git service for teams and individual developers.
Project resources
For installation commands, supported versions, and project-specific configuration, refer to the official Gitea documentation.
Typical local stack
The exact services depend on the project, its release, and its local configuration. This is a common local setup, not a fixed requirement.
- Gitea service
- MySQL / MariaDB / PostgreSQL
- Nginx / Caddy
- Go
| Component | Typical role |
|---|---|
| Gitea service | Runs the self-hosted Git application. |
| MySQL / MariaDB / PostgreSQL | May store application data when SQLite is not used. |
| Nginx / Caddy | May proxy a local Git service domain. |
| Go | May be needed when building from source. |
How FlyEnv helps
Manage data services
Run the database selected by the Gitea configuration.
Use Go when building source
Keep Go tooling available for source-based workflows.
Configure secure local access
Use a local domain and HTTPS for web and Git clients.
Keep the service stack grouped
Start Gitea and its selected services together.
Set up the local environment
Project installation stays with the upstream documentation. FlyEnv manages the runtimes, databases, web servers, and supporting services around it.
- 1Use the official Gitea documentation for installation and server configuration.
- 2Start a database only when the Gitea configuration does not use SQLite.
- 3Select Go when the workflow builds Gitea from source.
- 4Configure a local reverse proxy and domain when browser access needs one.
- 5Enable local HTTPS when Git clients or web integrations need a secure origin.
- 6Save the service and its dependencies in a Startup Group when useful.
Watch the demo
Follow a complete local project stack managed from FlyEnv.
Self-host Gitea with MySQL and HTTPSRelated solutions
Ready to run Gitea locally?
Use FlyEnv to manage the runtimes, databases, web servers, and services around your local Gitea environment.