-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallin1-docker-compose.yml
40 lines (35 loc) · 1008 Bytes
/
allin1-docker-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
version: "3.9"
name: tests_using_allin1_container
# Goal: a compose equivalent of:
# "docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name quickstart starrocks/allin1-ubuntu"
networks:
allin1:
services:
allin1:
image: starrocks/allin1-ubuntu:3.2-latest
hostname: fe
container_name: quickstart
ports:
- 9030:9030
- 8030:8030
- 8040:8040
user: root
healthcheck:
test: 'mysql -u root -h fe -P 9030 -e "show backends\G" |grep "Alive: true"'
interval: 10s
timeout: 5s
retries: 6
networks:
- allin1
# This section is commented out as the ports of the allin1 need to be
# made available to the host env and the tests need to run from the
# host. Leaving this in the file as I will need it for other
# situations and need a reference.
# test-harness:
# extends:
# file: ./test-harness-docker-compose.yml
# service: test-harness
# command: ash
# tty: true
# networks:
# - allin1