nexus/start.sh
2023-11-14 23:40:27 +01:00

10 lines
293 B
Bash

#!/bin/bash
echo "---------------"
echo "Nexus Dashboard"
echo "by Aaron Riedel"
echo "---------------"
# check if necessary variables are set
[[ -z "${APP_SECRET_KEY}" ]] && echo "APP_SECRET_KEY not set" && exit 1
[[ -z "${APP_DATABASE_URI}" ]] && echo "APP_DATABASE_URI not set" && exit 1