Skip to content

Commit

Permalink
feature/4525-code-search (#4526)
Browse files Browse the repository at this point in the history
* Enable indexing. Disable SSH and LFS.

* Fix for Dockerfile
  • Loading branch information
altinnadmin authored Jul 14, 2020
1 parent 244b3e2 commit ed21767
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/studio/src/repositories/gitea-config/app.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions src/studio/src/repositories/gitea-data/gitea/conf/app.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ed21767

Please sign in to comment.