Skip to content

Latest commit

 

History

History
188 lines (105 loc) · 3.97 KB

REFERENCE.md

File metadata and controls

188 lines (105 loc) · 3.97 KB

Reference

Table of Contents

Classes

Classes

gitea

manages gitea installation

Parameters

The following parameters are available in the gitea class:

version

Data type: String[1]

Gitlab Version to install

home

Data type: String[1]

home path of the gitea user

user

Data type: String[1]

gitea user

group

Data type: String[1]

gitea user group

repository_path

Data type: String[1]

where repository should be stored

app_name

Data type: String[1]

name for your gitea instance

domain

Data type: String[1]

domain where your instance is

run_mode

Data type: Enum['dev', 'prod']

in which mode gitea should be run (dev, prod)

database_type

Data type: Enum['postgresql', 'sqlite']

which database should be configured (postgresql, sqlite)

database_host

Data type: String

host of the database (currently only for postgresql)

database_name

Data type: String

name of the database (currently only for postgresql)

database_user

Data type: String

user of the database (currently only for postgresql)

database_password

Data type: String

password of the database (currently only for postgresql)

http_protocol

Data type: Enum['http','unix']

which protocol should be used (unix, http)

http_addr

Data type: String[1]

listen address

root_url

Data type: String[1]

root url of the gitea instance e.g '%(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/'

disable_registration

Data type: Boolean

disables registration

disable_git_hooks

Data type: Boolean

disables git hooks in the webui

lfs_enabled

Data type: Boolean

enables git LFS for repositories

lfs_data_path

Data type: Stdlib::Absolutepath

where should lfs data be stored

http_port

Data type: Integer

gitea::config

The gitea::config class.

gitea::database

The gitea::database class.

gitea::install

The gitea::install class.

gitea::service

The gitea::service class.