blob: 82689a6203be81788f7dc3cd42d8f7340d149cb9 [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
app1:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App1
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
app2:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App2
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
app3:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App3
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
app4:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App4
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
app5:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App5
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
app6:
type: app
basedir: .
mainClass: org.apache.dubbo.samples.App6
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
checkLog: "DubboBootstrap awaiting"
test:
type: test
basedir: .
tests:
- "**/*IT.class"
systemProps:
- zookeeper.address=zookeeper
waitPortsBeforeRun:
- zookeeper:2181
depends_on:
- zookeeper
- app1
- app2
- app3
- app4
- app5
- app6