gitea

Development moved to Codeberg


date: "2017-04-08T11:34:00+02:00" title: "Environment variables" slug: "environment-variables" weight: 20 toc: false draft: false menu: sidebar: parent: "advanced" name: "Environment variables" weight: 20

identifier: "environment-variables"

Environment variables

Table of Contents

{{< toc >}}

This is an inventory of Gitea environment variables. They change Gitea behaviour.

Initialize them before Gitea command to be effective, for example:

GITEA_CUSTOM=/home/gitea/custom ./gitea web

From Go language

As Gitea is written in Go, it uses some Go variables, such as:

For documentation about each of the variables available, refer to the official Go documentation.

Gitea files

Operating system specifics

Only on Windows

Miscellaneous