Skip to content

Commit

Permalink
network issue
Browse files Browse the repository at this point in the history
Signed-off-by: DanRoscigno <[email protected]>
  • Loading branch information
DanRoscigno committed Feb 2, 2024
1 parent 02b63f5 commit a5c83d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- 9020:9020
- 9030:9030
healthcheck:
test: 'mysql -u root -h fe -P 9030 -e "show frontends\G" |grep "Alive: true"'
test: 'mysql -u root -h localhost -P 9030 -e "show frontends\G" |grep "Alive: true"'
interval: 10s
timeout: 5s
retries: 3
Expand All @@ -26,7 +26,7 @@ services:
- /bin/bash
- -c
- |
sleep 45s; mysql --connect-timeout 2 -h fe -P 9030 -u root -e "alter system add backend \"be:9050\";"
sleep 45s; mysql --connect-timeout 2 -h localhost -P 9030 -u root -e "alter system add backend \"localhost:9050\";"
/opt/starrocks/be/bin/start_be.sh
hostname: be
container_name: be
Expand All @@ -36,7 +36,7 @@ services:
ports:
- 8040:8040
healthcheck:
test: 'mysql -u root -h fe -P 9030 -e "show backends\G" |grep "Alive: true"'
test: 'mysql -u root -h localhost -P 9030 -e "show backends\G" |grep "Alive: true"'
interval: 10s
timeout: 5s
retries: 3

0 comments on commit a5c83d0

Please sign in to comment.