diff --git a/src/studio/src/repositories/gitea-config/app.ini b/src/studio/src/repositories/gitea-config/app.ini index b361a54f992..4a1268ca7bf 100644 --- a/src/studio/src/repositories/gitea-config/app.ini +++ b/src/studio/src/repositories/gitea-config/app.ini @@ -15,9 +15,9 @@ PROTOCOL = http DOMAIN = $ALTINN_STUDIO_DOMAIN ROOT_URL = https://$ALTINN_STUDIO_DOMAIN/repos STATIC_ROOT_PATH = /gitea/ -DISABLE_SSH = false +DISABLE_SSH = true SSH_PORT = 22 -LFS_START_SERVER = true +LFS_START_SERVER = false LFS_CONTENT_PATH = /data/gitea/lfs LFS_JWT_SECRET = $LFS_JWT_SECRET OFFLINE_MODE = false @@ -74,6 +74,12 @@ DEFAULT_ALLOW_CREATE_ORGANIZATION = false DEFAULT_ENABLE_TIMETRACKING = true NO_REPLY_ADDRESS = noreply.altinn.no +[indexer] +REPO_INDEXER_ENABLED = true +MAX_FILE_SIZE = 65536 +REPO_INDEXER_INCLUDE = **.cs,**.csproj,**.cshtml,**.yaml,**.md,**/Dockerfile,**.json,**.xml,**.bpmn,**.ts,**.js +REPO_INDEXER_EXCLUDE = resources/bin/**,**.exe,**.zip,**.cer,.gitignore,*.sln,deployment/.helmignore,**.com,**.bin,**.msi,node_modules/**,**.png,**.jpeg,**.jpg + [openid] ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNUP = false diff --git a/src/studio/src/repositories/gitea-data/gitea/conf/app.ini b/src/studio/src/repositories/gitea-data/gitea/conf/app.ini index 04d837ec25a..37d42864069 100644 --- a/src/studio/src/repositories/gitea-data/gitea/conf/app.ini +++ b/src/studio/src/repositories/gitea-data/gitea/conf/app.ini @@ -14,10 +14,10 @@ SSH_DOMAIN = altinn3.no HTTP_PORT = 3000 ROOT_URL = http://altinn3.no/repos STATIC_ROOT_PATH = /gitea/ -DISABLE_SSH = false +DISABLE_SSH = true SSH_PORT = 22 DOMAIN = altinn3.no -LFS_START_SERVER = true +LFS_START_SERVER = false LFS_CONTENT_PATH = /data/gitea/lfs LFS_JWT_SECRET = MRlYoCcrcHmcKzUoQwaK6vKO3o4FPEJ74em5JnPRii0 OFFLINE_MODE = false @@ -81,6 +81,12 @@ DEFAULT_ALLOW_CREATE_ORGANIZATION = false DEFAULT_ENABLE_TIMETRACKING = true NO_REPLY_ADDRESS = noreply.altinn.no +[indexer] +REPO_INDEXER_ENABLED = true +MAX_FILE_SIZE = 65536 +REPO_INDEXER_INCLUDE = **.cs,**.csproj,**.cshtml,**.yaml,**.md,**/Dockerfile,**.json,**.xml,**.bpmn,**.ts,**.js +REPO_INDEXER_EXCLUDE = resources/bin/**,**.exe,**.zip,**.cer,.gitignore,*.sln,deployment/.helmignore,**.com,**.bin,**.map,**.msi,node_modules/**,**.png,**.jpeg,**.jpg + [openid] ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNUP = false