Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995280
jenkins.start.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
741 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
CONTAINER
=
$(
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 . --color 2>&1; } | ./node_modules/.bin/ansi-html-stream > log.html"
)
echo
"App started on
$SEALIOUS_PORT
"
echo
"App running in container
$CONTAINER
"
sleep
1
echo
"Docker logs so far:"
docker
logs
"
$CONTAINER
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Dec 23, 00:57 (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556680
Default Alt Text
jenkins.start.sh (741 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment