[tidb][test] Add tidb pipeline in azure CI
parent
c51a35d7cd
commit
570cba1159
@ -1,65 +0,0 @@
|
|||||||
# 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.
|
|
||||||
|
|
||||||
version: "2.1"
|
|
||||||
|
|
||||||
services:
|
|
||||||
pd:
|
|
||||||
image: pingcap/pd:latest
|
|
||||||
ports:
|
|
||||||
- "2379:2379"
|
|
||||||
volumes:
|
|
||||||
- ./config/pd.toml:/pd.toml
|
|
||||||
command:
|
|
||||||
- --client-urls=http://0.0.0.0:2379
|
|
||||||
- --peer-urls=http://0.0.0.0:2380
|
|
||||||
- --advertise-client-urls=http://192.168.30.157:2379
|
|
||||||
- --advertise-peer-urls=http://pd:2380
|
|
||||||
- --initial-cluster=pd=http://pd:2380
|
|
||||||
- --data-dir=/data/pd
|
|
||||||
- --config=/pd.toml
|
|
||||||
- --log-file=/logs/pd.log
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
tikv:
|
|
||||||
image: pingcap/tikv:latest
|
|
||||||
ports:
|
|
||||||
- "20160:20160"
|
|
||||||
volumes:
|
|
||||||
- ./config/tikv.toml:/tikv.toml
|
|
||||||
command:
|
|
||||||
- --addr=0.0.0.0:20160
|
|
||||||
- --advertise-addr=192.168.30.157:20160
|
|
||||||
- --data-dir=/data/tikv
|
|
||||||
- --pd=pd:2379
|
|
||||||
- --config=/tikv.toml
|
|
||||||
- --log-file=/logs/tikv.log
|
|
||||||
depends_on:
|
|
||||||
- "pd"
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
tidb:
|
|
||||||
image: pingcap/tidb:latest
|
|
||||||
volumes:
|
|
||||||
- ./config/tidb.toml:/tidb.toml
|
|
||||||
command:
|
|
||||||
- --store=tikv
|
|
||||||
- --path=pd:2379
|
|
||||||
- --config=/tidb.toml
|
|
||||||
- --log-file=/logs/tidb.log
|
|
||||||
- --advertise-address=tidb
|
|
||||||
depends_on:
|
|
||||||
- "tikv"
|
|
||||||
restart: on-failure
|
|
Loading…
Reference in New Issue