Add in filestore

This commit is contained in:
James Allen 2014-02-14 17:30:43 +00:00
parent 4d4d048c73
commit f4fbe3ad0f
3 changed files with 23 additions and 3 deletions

View file

@ -4,4 +4,9 @@ node_modules
web web
document-updater document-updater
clsi
filestore
compiles
cache

View file

@ -12,6 +12,9 @@ SERVICES = [{
}, { }, {
name: "clsi" name: "clsi"
repo: "git@github.com:sharelatex/clsi-sharelatex.git" repo: "git@github.com:sharelatex/clsi-sharelatex.git"
}, {
name: "filestore"
repo: "git@github.com:sharelatex/filestore-sharelatex.git"
}] }]

View file

@ -24,7 +24,9 @@ module.exports =
s3: s3:
key: "" key: ""
secret: "" secret: ""
bucketName : "" buckets:
# The S3 bucket name to store binary files in
user_files: ""
# Databases # Databases
# --------- # ---------
@ -64,6 +66,9 @@ module.exports =
clsi: clsi:
port: clsiPort = 3013 port: clsiPort = 3013
host: "localhost" host: "localhost"
filestore:
port: filestorePort = 3009
host: "localhost"
# Tell each service where to find the other services. If everything # Tell each service where to find the other services. If everything
# is running locally then this is easy, but they exist as separate config # is running locally then this is easy, but they exist as separate config
@ -77,6 +82,8 @@ module.exports =
url : "http://localhost:#{docUpdaterPort}" url : "http://localhost:#{docUpdaterPort}"
clsi: clsi:
url: "http://localhost:#{clsiPort}" url: "http://localhost:#{clsiPort}"
filestore:
url: "http://localhost:#{filestorePort}"
thirdPartyDataStore: thirdPartyDataStore:
url : "http://localhost:3002" url : "http://localhost:3002"
emptyProjectFlushDelayMiliseconds: 5 * seconds emptyProjectFlushDelayMiliseconds: 5 * seconds
@ -99,8 +106,6 @@ module.exports =
port: 3007 port: 3007
blog: blog:
port: 3008 port: 3008
filestore:
url: "http://localhost:3009"
templates_api: templates_api:
url: "http://localhost:3014" url: "http://localhost:3014"
@ -217,3 +222,10 @@ module.exports =
# user: "" # user: ""
# password: "" # password: ""
# projectId: "" # projectId: ""
# Filestore health check
# ----------------------
# Project and file details to check in filestore when calling /health_check
# health_check:
# project_id: ""
# file_id: ""