Skip to content

Commit 1470fe0

Browse files
committed
docker: enhance makerd startup logs for better user guidance
1 parent febb424 commit 1470fe0

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

docker-setup

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -784,17 +784,26 @@ start_makerd() {
784784
print_success "makerd started successfully!"
785785
sleep 3
786786

787-
788-
print_info "============================================"
789-
print_info "Check the logs below for your funding address"
790-
print_info "Use Ctrl+C to exit the logs"
791-
print_info "To restart makerd later, run: ./docker-setup.sh start-makerd"
792-
print_info "To view logs later, run: ./docker-setup.sh logs [service] or docker compose logs -f [service]"
793-
print_info "To show all logs, run: ./docker-setup.sh logs"
794-
print_info "To stop the stack, run: ./docker-setup.sh stop"
795-
print_info "============================================"
796-
797-
787+
echo -e "${YELLOW}==============================================================${NC}"
788+
echo -e "${YELLOW}CHECK LOGS below for the FIDELITY FUNDING ADDRESS! !${NC}"
789+
echo -e "${YELLOW}--------------------------------------------------------------${NC}"
790+
echo -e "${YELLOW}Fund the displayed wallet address with at least the mentioned amount of BTC."
791+
echo -e "If you fund extra, that will be used for swap liquidity."
792+
echo -e "Ensure you have enough Swap Liquidity to participate in the market."
793+
echo -e ""
794+
echo -e "If the maker server starts successfully, you will see a log like below:"
795+
echo -e " [6102] Taproot maker setup completed"
796+
echo -e " [6102] Taproot swap liquidity: 49540 sats, 0 ongoing swaps"
797+
echo -e " [6102] RPC socket binding successful at 127.0.0.1:6103"
798+
echo -e ""
799+
echo -e "Press Ctrl+C to stop watching logs (this will keep the maker server running in the background)."
800+
echo -e "To restart makerd later, run: ./docker-setup.sh restart"
801+
echo -e "To view logs later, run: ./docker-setup.sh logs [service] or docker compose logs -f [service]"
802+
echo -e "To show all logs, run: ./docker-setup.sh logs"
803+
echo -e "To stop the stack, run: ./docker-setup.sh stop"
804+
echo -e "Show all available commands: ./docker-setup.sh help"
805+
echo -e "${YELLOW}==============================================================${NC}"
806+
echo ""
798807

799808
docker compose logs -f makerd-internal makerd 2>/dev/null
800809
else
@@ -803,7 +812,6 @@ start_makerd() {
803812
stop_stack
804813
exit 1
805814
fi
806-
807815
}
808816

809817
run_command() {

0 commit comments

Comments
 (0)