You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "${Red}Wrong docker-compose.yml provided - no 'strato' service found in it. Use the docker-compose.allDocker.yml as the docker-compose.yml${NC}"
45
+
echo -e "${Red}Wrong docker-compose.yml provided - no 'strato' service found in it.${NC}"
if [ "$(printf '%s\n'"$min_version""$BOOTSTRAP_DOCKER_VERSION"| sort -V | head -1)"!="$min_version" ];then
53
+
echo -e "${Red}This docker-compose.yml requires bootstrap-docker version >= ${min_version}, but this is version ${BOOTSTRAP_DOCKER_VERSION}. Please update the strato bootstrap scripts.${NC}"
54
+
exit 3
55
+
fi
56
+
fi
46
57
}
47
58
48
59
functionhelp {
49
-
echo -e "${Yellow}STRATO run script${NC}
60
+
echo -e "${Yellow}STRATO run script${NC}
50
61
Kickstart a STRATO node.
51
62
52
63
${Yellow}Optional flags:${NC}
@@ -67,6 +78,7 @@ The flags are mutually exclusive:
67
78
functionwipe {
68
79
echo -e "${Yellow}Removing STRATO containers and wiping out volumes${NC}"
69
80
${docker_compose} down -v -t 0 --remove-orphans
81
+
sudo rm -rf nodedata/
70
82
}
71
83
72
84
functiondown {
@@ -76,7 +88,7 @@ function down {
76
88
77
89
functiongetCompose {
78
90
echo -e "${Yellow}Fetching the docker-compose.yml of the latest STRATO release...${NC}"
0 commit comments