1
0
mirror of https://github.com/thomiceli/opengist synced 2024-11-08 12:55:50 +01:00
opengist/config.yml

75 lines
2.5 KiB
YAML
Raw Normal View History

# Learn more about Opengist configuration here:
# https://github.com/thomiceli/opengist/blob/master/docs/configuration/index.md
# https://github.com/thomiceli/opengist/blob/master/docs/configuration/cheat-sheet.md
2023-04-07 01:52:56 +02:00
# Set the log level to one of the following: trace, debug, info, warn, error, fatal, panic. Default: warn
log-level: warn
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Public URL for the Git HTTP/SSH connection.
# If not set, uses the URL from the request
external-url:
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Directory where Opengist will store its data. Default: ~/.opengist/
opengist-home:
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Name of the SQLite database file. Default: opengist.db
db-filename: opengist.db
2023-03-14 16:22:52 +01:00
2023-06-09 15:25:41 +02:00
# Set the journal mode for SQLite. Default: WAL
# See https://www.sqlite.org/pragma.html#pragma_journal_mode
sqlite.journal-mode: WAL
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# HTTP server configuration
# Host to bind to. Default: 0.0.0.0
http.host: 0.0.0.0
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Port to bind to. Default: 6157
http.port: 6157
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Enable or disable git operations (clone, pull, push) via HTTP (either `true` or `false`). Default: true
http.git-enabled: true
2023-03-14 16:22:52 +01:00
# SSH built-in server configuration
# Note: it is not using the SSH daemon from your machine (yet)
2023-04-07 01:52:56 +02:00
# Enable or disable SSH built-in server
# for git operations (clone, pull, push) via SSH (either `true` or `false`). Default: true
ssh.git-enabled: true
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Host to bind to. Default: 0.0.0.0
ssh.host: 0.0.0.0
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Port to bind to. Default: 2222
# Note: it cannot be the same port as the SSH daemon if it's currently running
# If you want to use the port 22 for the built-in SSH server,
# you can either change the port of the SSH daemon or stop it
ssh.port: 2222
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Public domain for the Git SSH connection, if it has to be different from the HTTP one.
# If not set, uses the URL from the request
ssh.external-domain:
2023-03-14 16:22:52 +01:00
2023-04-07 01:52:56 +02:00
# Path or alias to ssh-keygen executable. Default: ssh-keygen
ssh.keygen-executable: ssh-keygen
2023-04-17 19:11:32 +02:00
# OAuth2 configuration
2023-09-15 23:56:14 +02:00
# The callback/redirect URL must be http://opengist.domain/oauth/<github|gitea|openid-connect>/callback
2023-04-17 19:11:32 +02:00
# To create a new OAuth2 application using GitHub : https://github.com/settings/applications/new
github.client-key:
github.secret:
# To create a new OAuth2 application using Gitea : https://gitea.domain/user/settings/applications
2023-04-17 21:57:03 +02:00
gitea.client-key:
2023-04-17 19:11:32 +02:00
gitea.secret:
2023-04-17 21:57:03 +02:00
# URL of the Gitea instance. Default: https://gitea.com/
2023-04-17 19:11:32 +02:00
gitea.url: https://gitea.com/
2023-09-15 23:56:14 +02:00
# To create a new OAuth2 application using OpenID Connect:
oidc.client-key:
oidc.secret:
2023-09-25 15:58:05 +02:00
# Discovery endpoint of the OpenID provider. Generally something like http://auth.example.com/.well-known/openid-configuration
2023-09-15 23:56:14 +02:00
oidc.discovery-url: