homelab/druid/config/gitea
Joey Hafner eaca515c72
All checks were successful
Docker Compose Config / docker-compose-config (push) Successful in 18s
#120 Privileged to dind
2024-02-12 23:33:21 -08:00
..
.env Init Gitea on druid 2023-11-23 13:29:21 -08:00
docker-compose.yml #120 Privileged to dind 2024-02-12 23:33:21 -08:00
gitea.env Init Gitea on druid 2023-11-23 13:29:21 -08:00
README.md Init Gitea README 2023-11-23 14:13:20 -08:00
runner_config.yaml Init Gitea Runner 2024-02-12 14:29:48 -08:00
runner-dind.env #120 Add labels for each runner 2024-02-12 23:26:37 -08:00
runner-ubuntu.env #120 Add labels for each runner 2024-02-12 23:26:37 -08:00

app.ini Snippets

The main Gitea config file is located at ~/data/gitea/gitea/gitea/conf/app.ini.

Configure connection to postgres DB container.

[database]
PATH = /data/gitea/gitea.db
DB_TYPE = postgres
HOST = postgres:5432
NAME = gitea
USER = gitea
PASSWD = [Located at postgres_secrets.env]
LOG_SQL = false
SCHEMA = 
SSL_MODE = disable

Disable OpenID as login option.

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

Allow migrating from specific domains.

[migrations]
ALLOWED_DOMAINS = gitlab.jafner.net, *.github.com, github.com