blob: 1fe22d421479d4a409f1c71dea41a43a783829d9 [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.
# Minimal topology for the admin-server REST commands: just BanyanDB + OAP. The admin
# feature modules (status / inspect / ui-management / dsl-debugging / runtime-rule)
# are enabled by default in OAP 11.0.0+, so no extra environment is required — only
# the admin REST port (17128) needs to be published alongside the GraphQL port (12800).
# Requires an OAP build that includes the admin host (OAP_TAG >= 11.0.0).
version: "2.1"
services:
banyandb:
extends:
file: ../../base/docker-compose.yml
service: banyandb
oap:
extends:
file: ../../base/docker-compose.yml
service: oap
ports:
- 12800
- 17128
depends_on:
banyandb:
condition: service_healthy
networks:
test: