blob: b9c2952e88eeb506b311896262df24d530f9ef0f [file]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
services:
gremlin:
hostname: gremlin
container_name: gremlin
image: tinkerpop/gremlin-server:3.4.2
labels:
breeze.description: "Integration required for gremlin operator and hook."
volumes:
- ./gremlin:/opt/gremlin-server/conf
- graph-data:/opt/gremlin-server/data
- ./gremlin/gremlin-entrypoint.sh:/opt/gremlin-server/gremlin-entrypoint.sh # New entrypoint script
ports:
- "${GREMLIN_HOST_PORT}:8182"
entrypoint: /opt/gremlin-server/gremlin-entrypoint.sh # Use custom entrypoint
user: "0:0" # Run as root
airflow:
depends_on:
- gremlin
environment:
- INTEGRATION_TINKERPOP=true
stdin_open: true
volumes:
graph-data: