Skip to content

Commit

Permalink
Update Docker Compose configuration for JanusGraph and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tae898 committed Jan 1, 2025
1 parent 80ef1d9 commit da0513d
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions janusgraph-dist/docker/examples/docker-compose-cql-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version: "3"

services:
janusgraph:
image: docker.io/janusgraph/janusgraph:latest
image: janusgraph/janusgraph:latest
container_name: jce-janusgraph
environment:
JANUS_PROPS_TEMPLATE: cql-es
Expand All @@ -33,7 +31,7 @@ services:
retries: 3

cassandra:
image: cassandra:3
image: cassandra:3.11.17
container_name: jce-cassandra
ports:
- "9042:9042"
Expand All @@ -42,7 +40,7 @@ services:
- jce-network

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
image: elasticsearch:6.8.23
container_name: jce-elastic
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
Expand All @@ -57,6 +55,23 @@ services:
networks:
- jce-network

janusgraph-visualizer:
image: janusgraph/janusgraph-visualizer:latest
container_name: jce-visualizer
ports:
- "3000:3000"
- "3001:3001"
networks:
- jce-network
depends_on:
- janusgraph
environment:
- GRAPH_URL=http://jce-janusgraph:8182
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001"]
interval: 10s
retries: 3

networks:
jce-network:
volumes:
Expand Down

0 comments on commit da0513d

Please sign in to comment.