blob: 8bb311d05de72e766e33f6357e30c1c20e0627e1 [file] [log] [blame]
# 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:
zookeeper:
image: zookeeper:latest
expose:
- 2181
dubbo-samples-rest-withtoken-provider:
type: app
basedir: dubbo-samples-rest-withtoken-provider
mainClass: org.apache.dubbo.rest.withtoken.provider.Application
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
expose:
- 8080
dubbo-samples-rest-withtoken-consumer:
type: test
basedir: dubbo-samples-rest-withtoken-consumer
tests:
- "**/**Test.class"
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
- dubbo-samples-rest-withtoken-provider:8080
depends_on:
- zookeeper
- dubbo-samples-rest-withtoken-provider