Skip to content

Commit 6c030f7

Browse files
tae898porunov
authored andcommitted
Update Docker Compose configuration for JanusGraph and dependencies
Signed-off-by: Taewoon Kim <[email protected]>
1 parent 6db9d55 commit 6c030f7

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

janusgraph-dist/docker/examples/docker-compose-cql-es.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
version: "3"
16-
1715
services:
1816
janusgraph:
19-
image: docker.io/janusgraph/janusgraph:latest
17+
image: janusgraph/janusgraph:latest
2018
container_name: jce-janusgraph
2119
environment:
2220
JANUS_PROPS_TEMPLATE: cql-es
@@ -33,7 +31,7 @@ services:
3331
retries: 3
3432

3533
cassandra:
36-
image: cassandra:3
34+
image: cassandra:4.0.17
3735
container_name: jce-cassandra
3836
ports:
3937
- "9042:9042"
@@ -42,7 +40,7 @@ services:
4240
- jce-network
4341

4442
elasticsearch:
45-
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
43+
image: elasticsearch:8.17.1
4644
container_name: jce-elastic
4745
environment:
4846
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
@@ -51,12 +49,29 @@ services:
5149
- "transport.host=127.0.0.1"
5250
- "cluster.name=docker-cluster"
5351
- "xpack.security.enabled=false"
54-
- "discovery.zen.minimum_master_nodes=1"
52+
- "discovery.type=single-node"
5553
ports:
5654
- "9200:9200"
5755
networks:
5856
- jce-network
5957

58+
janusgraph-visualizer:
59+
image: janusgraph/janusgraph-visualizer:latest
60+
container_name: jce-visualizer
61+
ports:
62+
- "3000:3000"
63+
- "3001:3001"
64+
networks:
65+
- jce-network
66+
depends_on:
67+
- janusgraph
68+
environment:
69+
- GRAPH_URL=http://jce-janusgraph:8182
70+
healthcheck:
71+
test: ["CMD", "curl", "-f", "http://localhost:3001"]
72+
interval: 10s
73+
retries: 3
74+
6075
networks:
6176
jce-network:
6277
volumes:

0 commit comments

Comments
 (0)