@ -1,16 +1,19 @@
#!/bin/bash
export SEALIOUS_PORT = $PORT
SEALIOUS_PORT = " ${ PORT } 0 "
SEALIOUS_BASE_URL = $( cat .base_url)
export SEALIOUS_BASE_URL
./npm.sh run build:front;
docker-compose up -d mailcatcher
docker-compose run --user= " $UID " \
-e "SEALIOUS_MONGO_PORT=27017" \
-e "SEALIOUS_MONGO_HOST=db" \
-e " SEALIOUS_PORT= $SEALIOUS_PORT " \
-e " SEALIOUS_BASE_URL= $SEALIOUS_BASE_URL " \
-e "SEALIOUS_MAILER=mailcatcher" \
-p " ${ SEALIOUS_PORT } : ${ SEALIOUS_PORT } " \
-d \
test \
@ -18,5 +21,6 @@ docker-compose run --user="$UID"\
&& echo " App started on $SEALIOUS_PORT "
echo " Deployed to https:// ${ PORT } .dep.sealco.de "
echo " Deployed app to https:// ${ SEALIOUS_PORT } .dep.sealco.de "
echo " Mailcatcher available at https:// ${ PORT } 1.dep.sealco.de "
echo " Application logs should be available at https://jenkins.sealcode.org/job/Deploy%20to%20dep.sealco.de/ws v2/ $PORT /log.html "