Skip to content

Commit

Permalink
update cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Mar 24, 2024
1 parent e3b1023 commit 9b88a05
Show file tree
Hide file tree
Showing 42 changed files with 330 additions and 329 deletions.
6 changes: 3 additions & 3 deletions alpine/nodejs18/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}NodeJS Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions alpine/nodejs20/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}NodeJS Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions apps/uptimekuma/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}Uptime Kuma Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} ${TZ} ${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
16 changes: 8 additions & 8 deletions bots/bastion/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ NC='\033[0m'
clear

#show versions
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}BastionBot Installation${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Python Version: ${RED}$(python3 --version)${NC}"
#echo -e "${YELLOW}Java Version: ${RED} $(java -version)${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${YELLOW}npm Version: ${RED} $(npm -v) ${NC}"
echo -e "${YELLOW}yarn Version: ${RED} $(yarn --version) ${NC}"
echo -e "${YELLOW}MongoDB Version: ${RED}$(mongod --version)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

cd /home/container

Expand All @@ -34,15 +34,15 @@ MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/
echo -e "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}"

# start mongo
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting MongoDB...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do echo 'Waiting for mongodb connection...'; sleep 5; done

# Run the Server
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}BastionBot starting...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
eval ${MODIFIED_STARTUP}

# stop mongo
Expand Down
16 changes: 8 additions & 8 deletions bots/championbots/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,33 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}ChampionsBot Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Java Version: ${RED} $(java -version)${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${YELLOW}npm Version: ${RED} $(npm -v) ${NC}"
echo -e "${YELLOW}yarn Version: ${RED} $(yarn --version) ${NC}"
echo -e "${YELLOW}MongoDB Version: ${RED}$(mongod --version)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
echo -e "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}"

# start mongo
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting MongoDB...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do echo 'Waiting for mongodb connection...'; sleep 5; done

# Run the Server
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting ChampionBot${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
eval ${MODIFIED_STARTUP}

# stop mongo
Expand Down
14 changes: 7 additions & 7 deletions bots/corvin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ NC='\033[0m'
clear

#show versions
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}CorvinBot Installation${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}MongoDB Version:${NC} " && mongod --version
echo -e "${YELLOW}NodeJS Version:${NC} " && node -v
echo -e "${YELLOW}NPM Version:${NC} " && npm -v
echo -e "${YELLOW}Java Version:${NC} " && java -version
echo -e "${YELLOW}Running on Debian:${NC} " && cat /etc/debian_version
echo -e "${YELLOW}Current timezone:${NC} " && cat /etc/timezone
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

cd /home/container

Expand All @@ -31,15 +31,15 @@ MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/
echo -e "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}"

# start mongo
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting MongoDB...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do echo 'Waiting for mongodb connection...'; sleep 5; done

# Run the Server
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting CorvinBot${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
eval ${MODIFIED_STARTUP}

# stop mongo
Expand Down
16 changes: 8 additions & 8 deletions bots/multibot/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}Multi-Bot Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on: ${RED} $(. /etc/os-release ; echo $NAME $VERSION)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${YELLOW}npm Version: ${RED} $(npm -v) ${NC}"
echo -e "${YELLOW}yarn Version: ${RED} $(yarn --version) ${NC}"
echo -e "${YELLOW}MongoDB Version: ${RED}$(mongod --version)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
echo -e "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}"

# start mongo
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting MongoDB...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do echo 'Waiting for mongodb connection...'; sleep 5; done

# Run the Server
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting Multi-Bot${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
eval ${MODIFIED_STARTUP}

# stop mongo
Expand Down
16 changes: 8 additions & 8 deletions bots/nodemongo/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}NodeJS & MongoDB Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on: ${RED} $(. /etc/os-release ; echo $NAME $VERSION)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
echo -e "${YELLOW}npm Version: ${RED} $(npm -v) ${NC}"
echo -e "${YELLOW}yarn Version: ${RED} $(yarn --version) ${NC}"
echo -e "${YELLOW}MongoDB Version: ${RED}$(mongod --version)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
echo -e "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}"

# start mongo
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting MongoDB...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do echo 'Waiting for mongodb connection...'; sleep 5; done

# Run the Server
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}starting Bot...${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
eval ${MODIFIED_STARTUP}

# stop mongo
Expand Down
6 changes: 3 additions & 3 deletions bots/sinusbot/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}Sinusbot Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions box64/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# System informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}Box64 (Quinten) Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
#echo -e "${YELLOW}Dart Version: ${RED} $(dart --version) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions database/keydb/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}KeyDB Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${YELLOW}KeyDB Version: ${RED} $(keydb-server --version) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions database/mariadb/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}MariaDB Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${YELLOW}MariaDB Version: ${RED} $(mariadb --version) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
6 changes: 3 additions & 3 deletions database/mongodb/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP

# system informations
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${RED}MongoDB Image by gOOvER${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"
echo -e "${YELLOW}Running on Debian: ${RED} $(cat /etc/debian_version)${NC}"
echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/timezone)${NC}"
echo -e "${YELLOW}MongoDB Version: ${RED} $(mongo --version) ${NC}"
echo -e "${BLUE}-------------------------------------------------${NC}"
echo -e "${BLUE}---------------------------------------------------------------------${NC}"

# Replace Startup Variables
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
Expand Down
Loading

0 comments on commit 9b88a05

Please sign in to comment.