mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
15 lines
292 B
Bash
15 lines
292 B
Bash
#!/bin/bash
|
|
|
|
# Set the flags
|
|
FLAGS=""
|
|
if [ -n "$CATALYST_FLAGS" ]; then
|
|
FLAGS="$CATALYST_FLAGS"
|
|
fi
|
|
|
|
# Set the app url
|
|
APP_URL=""
|
|
if [ -n "$CATALYST_APP_URL" ]; then
|
|
APP_URL="$CATALYST_APP_URL"
|
|
fi
|
|
|
|
/usr/local/bin/catalyst serve --http 0.0.0.0:8080 --flags "$FLAGS" --app-url "$APP_URL" |