-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdeploy.cfg
71 lines (58 loc) · 2.68 KB
/
deploy.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# The deploy.cfg file is located in the module top dir is a necessary file
# needed for deployments. This file contains config variables, such as
# mongodb-host, mysqldb-host. Standard variable names are listed on the trac
# wiki at https://trac.kbase.us/projects/kbase/wiki/DeployCfgStandards
#
# The variables in the deploy.cfg file will get "injected" into the module
# makefile. In short, the variable is uppercased and dashes become underscores,
# so mongodb-host in the deploy.cfg file becomes MONGODB_HOST in the module
# makefile when the module makefile is invoked by the system make file at the
# top level of the dev container.
#
#
#
# Deployment configuration for the narrative_method_store module
#
[NarrativeMethodStore]
# location & branch of the public git repo hosting the method specifications
method-spec-git-repo = https://github.com/kbase/narrative_method_specs
method-spec-git-repo-branch = dev
# local file location (relative to the glassfish domain where the service starts, ie
# deployment/services/narrative_method_store/glasfish_domain/NarrativeMethodStore/config/.)
# where the method specification repo should be created.
# WARNING! this directory will be deleted and recloned on service startup, so be
# careful where you point this!
method-spec-git-repo-local-dir = narrative_method_specs
# every N minutes, the service will check if any updates have been made in the
# git repo, and if so, the updates will be pulled and the service cache rebuilt
# Note: github limits api requests to 60/hour/IP
method-spec-git-repo-refresh-rate = 2
# The number of methods cached in memory on the server
method-spec-cache-size = 5000
# port for the service.
port = 7125
# server thread count - this determines the number of requests that can be
# processed simultaneously.
server-threads = 20
# Minimum memory size in MB.
min-memory = 1000
# Maximum memory size in MB.
max-memory = 1500
method-spec-temp-dir = /scratch/narrative_method_store_temp
method-spec-mongo-host = localhost:27017
method-spec-mongo-dbname = method_store_repo_db
# method-spec-mongo-user = mongouser
# method-spec-mongo-password = *****
method-spec-admin-users = kbaseadmin,kbaseadmin2
endpoint-host=https://ci.kbase.us
endpoint-base=/services
# Whether to enable ('true') the MongoDB retryWrites parameter or not (anything other than 'true').
# See https://www.mongodb.com/docs/manual/core/retryable-writes/
method-spec-mongo-retrywrites=false
# Default tag used when tag is not specified in Narrative requests.
# It should be changed into 'release' in production deployment.
method-spec-default-tag = dev
# The KBase authorization server url.
auth-service-url = https://kbase.us/services/authorization
#auth-service-url-allow-insecure=false