-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (40 loc) · 1.33 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
version: "3.1"
# This is just an example that shows the relationships between the groups image
# and other services. Many of these things would be overidden in the actual
# deployment docker-compose file - for example, the name of the mongodb instance
# that is started up and polled
services:
kbase_groups:
build: .
ports:
- "8080:8080"
environment:
mongo_host: "mongo:27017"
mongo_db: dc_groups_test
auth_url: https://ci.kbase.us/services/auth
workspace_url: https://ci.kbase.us/services/ws
catalog_url: https://ci.kbase.us/services/catalog
notifier_url: https://ci.kbase.us/services/feeds
workspace_admin_token: faketoken_replace
notifier_token: faketoken_replace
field_validator_configs: |
field-foo-validator=us.kbase.groups.fieldvalidators.SimpleFieldValidatorFactory
field-foo-is-numbered=true
# add more configurations here
command:
- "-multiline"
- "-wait"
- "tcp://mongo:27017"
- "-timeout"
- "120s"
- "-template"
- "/kb/deployment/conf/.templates/deployment.cfg.templ:/kb/deployment/conf/deployment.cfg"
- "java"
- "-Djetty.home=/usr/local/jetty"
- "-jar"
- "/usr/local/jetty/start.jar"
depends_on: ["mongo"]
mongo:
image: mongo:3.6
ports:
- "27017:27017"