-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneral-compose.yml
59 lines (53 loc) · 1.24 KB
/
general-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: "3.9"
name: general_test
services:
starrocks-fe:
image: starrocks/fe-ubuntu:3.2-latest
hostname: fe
container_name: fe
user: root
command:
/opt/starrocks/fe/bin/start_fe.sh
ports:
- 8030:8030
- 9020:9020
- 9030:9030
healthcheck:
test: 'mysql -u root -h fe -P 9030 -e "show frontends\G" |grep "Alive: true"'
interval: 10s
timeout: 5s
retries: 3
starrocks-be:
image: starrocks/be-ubuntu:3.2-latest
command:
- /bin/bash
- -c
- |
ulimit -u 65535;
ulimit -n 65535;
sleep 3s; mysql --connect-timeout 2 -h fe -P 9030 -u root -e "alter system add backend \"be:9050\";"
/opt/starrocks/be/bin/start_be.sh
hostname: be
container_name: be
user: root
depends_on:
starrocks-fe:
condition: service_healthy
restart: true
ports:
- 8040:8040
healthcheck:
test: 'mysql -u root -h fe -P 9030 -e "show backends\G" |grep "Alive: true"'
interval: 10s
timeout: 5s
retries: 5
test-harness:
image: ginkgo
hostname: ginkgo
container_name: ginkgo
user: root
command: ash
tty: true
build:
context: ci
dockerfile: ginkgo.Dockerfile