Skip to content

Commit 1708414

Browse files
authored
using latest frontend instead of v0.0.1, updating echos
1 parent d39f691 commit 1708414

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

init_setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ networkname="FileFighterNetwork"
1717
# Startup Message.
1818
echo ""
1919
echo "-------------------------< FileFighter >--------------------------"
20-
echo "| Version 0.0.1 last updated at 10.10.20 |"
20+
echo "| Version 0.0.1 last updated at 14.10.20 |"
2121
echo "| Developed by Gimleux, Valentin, Open-Schnick. |"
2222
echo "| Development Blog: https://filefighter.github.io |"
2323
echo "| The code can be found at: https://www.github.com/filefighter |"
@@ -90,7 +90,7 @@ echo "Creating necessary network."
9090
docker network create $networkname >/dev/null 2>&1
9191

9292
# Database
93-
echo "Creating DB Container."
93+
echo "Creating latest DB Container."
9494
docker create \
9595
-e MONGO_INITDB=$db_name \
9696
-e MONGO_INITDB_ROOT_USERNAME=$db_user \
@@ -102,7 +102,7 @@ docker start $dbname >/dev/null 2>&1
102102
sleep 3 # waiting 3 seconds for mongo to start.
103103

104104
# REST APP
105-
echo "Creating REST Container."
105+
echo "Creating latest REST Container."
106106
docker create \
107107
-e DB_USERNAME=$db_user \
108108
-e DB_PASSWORD=$db_password \
@@ -115,11 +115,11 @@ docker create \
115115
docker start $restname >/dev/null 2>&1
116116

117117
# Frontend
118-
echo "Creating Frontend Container."
118+
echo "Creating latest Frontend Container."
119119
docker create \
120120
-e REST_PORT=$rest_port \
121121
-p $frontend_port:5000 \
122-
--name $frontendname filefighter/frontend:0.0.1 >/dev/null 2>&1
122+
--name $frontendname filefighter/frontend:latest >/dev/null 2>&1
123123
docker start $frontendname >/dev/null 2>&1
124124

125125
# DataHandler

0 commit comments

Comments
 (0)