-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
50 lines (48 loc) · 1.92 KB
/
docker-compose.yml
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
version: '3.4'
services:
nms:
# build the nms docker image locally
build: .
# to use the latest docker image from ghcr.io
# uncomment the next line and comment out the build line
# image: ghcr.io/kbase/narrative_method_store:latest
ports:
- "8080:8080"
depends_on: ["mongo"]
environment:
# see deployment/conf/.templates for more environment variables
- method_spec_git_repo=https://github.com/kbase/narrative_method_specs_ci
- method_spec_git_repo_branch=master
- method_spec_git_repo_local_dir=narrative_method_specs_recreated_at_startup
- method_spec_git_repo_refresh_rate=2
- method_spec_cache_size=5000
- method_spec_temp_dir=narrative_method_store_temp
- method_spec_mongo_host=mongo:27017
- method_spec_mongo_dbname=method_store_repo_db
- method_spec_admin_users=""
- endpoint_host=https://ci.kbase.us
- endpoint_base=/services
- method_spec_default_tag=dev
- auth_service_url=https://ci.kbase.us/services/auth/api/legacy/KBase/Sessions/Login
- auth_service_url_allow_insecure=false
- service_port=8080
command:
- "-wait"
- "tcp://mongo:27017"
- "-timeout"
- "120s"
- "-template"
- "/kb/deployment/conf/.templates/deployment.cfg.templ:/kb/deployment/conf/deployment.cfg"
- "-template"
- "/kb/deployment/conf/.templates/http.ini.templ:/kb/deployment/services/narrative_method_store/start.d/http.ini"
- "-template"
- "/kb/deployment/conf/.templates/server.ini.templ:/kb/deployment/services/narrative_method_store/start.d/server.ini"
- "-template"
- "/kb/deployment/conf/.templates/start_server.sh.templ:/kb/deployment/bin/start_server.sh"
- "-stdout"
- "/kb/deployment/services/narrative_method_store/logs/request.log"
- "/kb/deployment/bin/start_server.sh"
mongo:
image: "mongo:3.6.23"
ports:
- "27017:27017"