From fd5838d3f30979f5ae65eec1fbd53844f7f8cabf Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:49:27 +0100 Subject: [PATCH] Add basic forgejo config --- .../franz/git/forgejo_data/gitea/conf/app.ini | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 rsc/docker/franz/git/forgejo_data/gitea/conf/app.ini diff --git a/rsc/docker/franz/git/forgejo_data/gitea/conf/app.ini b/rsc/docker/franz/git/forgejo_data/gitea/conf/app.ini new file mode 100644 index 0000000..707cf77 --- /dev/null +++ b/rsc/docker/franz/git/forgejo_data/gitea/conf/app.ini @@ -0,0 +1,62 @@ +APP_NAME = Forgejo: Beyond coding. We forge. +RUN_MODE = prod + +[repository] +ROOT = /data/git/repositories + +[repository.local] +LOCAL_COPY_PATH = /data/gitea/tmp/local-repo + +[repository.upload] +TEMP_PATH = /data/gitea/uploads + +[server] +APP_DATA_PATH = /data/gitea +DOMAIN = localhost +SSH_DOMAIN = localhost +HTTP_PORT = 3000 +ROOT_URL = +DISABLE_SSH = false +SSH_PORT = 22 +SSH_LISTEN_PORT = 22 +LFS_START_SERVER = false + +[database] +PATH = /data/gitea/gitea.db +DB_TYPE = postgres +HOST = db:5432 +NAME = gitea +USER = gitea +PASSWD = gitea +LOG_SQL = false + +[indexer] +ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve + +[session] +PROVIDER_CONFIG = /data/gitea/sessions + +[picture] +AVATAR_UPLOAD_PATH = /data/gitea/avatars +REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars + +[attachment] +PATH = /data/gitea/attachments + +[log] +MODE = console +LEVEL = info +ROOT_PATH = /data/gitea/log + +[security] +INSTALL_LOCK = false +SECRET_KEY = +REVERSE_PROXY_LIMIT = 1 +REVERSE_PROXY_TRUSTED_PROXIES = * + +[service] +DISABLE_REGISTRATION = false +REQUIRE_SIGNIN_VIEW = false + +[lfs] +PATH = /data/git/lfs