Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996399
jenkins.start.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
998 B
Referenced Files
None
Subscribers
None
jenkins.start.sh
View Options
#!/bin/bash
SEALIOUS_PORT
=
"
${
PORT
}
0"
SEALIOUS_BASE_URL
=
$(
cat
.base_url
)
export
SEALIOUS_BASE_URL
./npm.sh
--no-TTY
ci
./npm.sh
--no-TTY
--user
=
"
$UID
"
run
build:front
docker
compose
up
-d
mailcatcher
docker
compose
up
-d
meilisearch
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"
\
-e
"MEILISEARCH_HOST=http://meilisearch:7700"
\
-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
"
WORKSPACE_DIRNAME
=
$(
basename
"
$WORKSPACE
"
|
sed
's/ /%20/g'
)
echo
"Deployed app to https://
${
SEALIOUS_PORT
}
.dep.sealco.de"
echo
"Mailcatcher available at https://
${
PORT
}
2.dep.sealco.de"
echo
"Application logs should be available at https://jenkins.sealcode.org/job/
${
WORKSPACE_DIRNAME
}
/ws/
$PORT
/log.html"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Dec 24, 14:02 (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557236
Default Alt Text
jenkins.start.sh (998 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment