Skip to content

Commit

Permalink
Update docker-compose template with KG v0.9.14 and IAM v0.5.17 (BlueB…
Browse files Browse the repository at this point in the history
  • Loading branch information
hygt authored and umbreak committed Jun 8, 2018
1 parent 956b94b commit 9a22f38
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/main/paradox/assets/running_locally/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
version: '2'
services:
kg:
image: "bluebrain/kg-nexus:latest"
image: "bluebrain/kg-nexus:0.9.14"
mem_limit: 512m
ports:
- "8080:8080"
links:
- cassandra
- iam
environment:
- "CASSANDRA_CONTACT_POINT1=cassandra:9042"
- "BIND_INTERFACE=0.0.0.0"
- "PUBLIC_URI=http://localhost:8080"
- "IAM_BASEURI=http://iam:8080/v0"
- "SPARQL_BASE_URI=http://blazegraph:9999/bigdata"
- "SPARQL_ENDPOINT=http://blazegraph:9999/bigdata/sparql"
- 'JAVA_OPTS=-Xms256m -Xmx256m'
- "ELASTIC_BASE_URI=http://elasticsearch:9200"
- "JAVA_OPTS=-Xms256m -Xmx256m"

iam:
image: "bluebrain/iam-nexus:latest"
image: "bluebrain/iam-nexus:0.5.17"
mem_limit: 512m
entrypoint:
- /bin/sh
Expand All @@ -29,29 +28,34 @@ services:
./bin/iam-service
ports:
- "8081:8080"
links:
- cassandra
environment:
- "CASSANDRA_CONTACT_POINT1=cassandra:9042"
- "BIND_INTERFACE=0.0.0.0"
- "PUBLIC_URI=http://localhost:8081"
- "IAM_TESTMODE=true"
- "ELASTIC_BASE_URI=http://elasticsearch:9200"
- "KAFKA_BOOTSTRAP_SERVERS=kafka:9092"
- 'JAVA_OPTS=-Xms256m -Xmx256m'
- "JAVA_OPTS=-Xms256m -Xmx256m"

elasticsearch:
image: "elasticsearch:latest"

cassandra:
image: "cassandra:3.11"
mem_limit: 512m
environment:
- "MAX_HEAP_SIZE=256m"
- "HEAP_NEWSIZE=128m"

kafka:
image: "spotify/kafka:latest"
mem_limit: 256m
environment:
- "ADVERTISED_HOST=kafka"
- "ADVERTISED_PORT=9092"
- "KAFKA_HEAP_OPTS=-Xmx256m -Xms256m"

blazegraph:
image: "bluebrain/blazegraph-nexus:latest"
mem_limit: 256m
command: 128m
command: 128m

0 comments on commit 9a22f38

Please sign in to comment.