Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995262
jenkins.start.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
567 B
Referenced Files
None
Subscribers
None
jenkins.start.sh
View Options
#!/bin/bash
docker-compose
down
set
-e
export
SEALIOUS_PORT
=
$1
export
SEALIOUS_BASE_URL
=
$2
docker-compose
down
docker-compose
up
-d
db
./npm.sh
ci
./npm.sh
run
build:back
;
./npm.sh
run
build:front
;
rm
-f
log.txt
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
"
\
-p
${
SEALIOUS_PORT
}
:
${
SEALIOUS_PORT
}
\
-d
\
test
\
/bin/sh
-c
"node . > log.txt"
\
&&
echo
"App started on
$SEALIOUS_PORT
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Dec 23, 00:57 (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556744
Default Alt Text
jenkins.start.sh (567 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment