Kaynağa Gözat

Add local conf file, for dev environment

Shane Kilkelly 7 yıl önce
ebeveyn
işleme
b6a44fdd33

+ 0 - 2
services/git-bridge/.gitignore

@@ -1,8 +1,6 @@
 # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
 # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
 
-conf/local.json
-
 # Let's not share anything because we're using Maven.
 
 .idea

+ 26 - 0
services/git-bridge/conf/local.json

@@ -0,0 +1,26 @@
+{
+    "port": 8000,
+    "rootGitDirectory": "/tmp/wlgb",
+    "apiBaseUrl": "http://v2.overleaf.test:4000/api/git-bridge",
+    "username": "user",
+    "password": "pass",
+    "postbackBaseUrl": "http://git_bridge:8000",
+    "serviceName": "Overleaf",
+    "oauth2": {
+        "oauth2ClientID": "264c723c925c13590880751f861f13084934030c13b4452901e73bdfab226edc",
+        "oauth2ClientSecret": "e6b2e9eee7ae2bb653823250bb69594a91db0547fe3790a7135acb497108e62d",
+        "oauth2Server": "http://www.overleaf.test:5000"
+    },
+    "repoStore": {
+        "maxFileSize": 52428800
+    },
+    "swapStore": {
+        "type": "noop"
+    },
+    "swapJob": {
+        "minProjects": 50,
+        "lowGiB": 128,
+        "highGiB": 256,
+        "intervalMillis": 3600000
+    }
+}