Adding server script to run services

This commit is contained in:
Brandon Watson
2023-08-10 14:36:30 -05:00
parent 54c2632cec
commit 68f3801219
2 changed files with 21 additions and 0 deletions

17
scripts/server Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
mkdir -p /tmp/cortex/rule
mkdir -p /tmp/tempo
echo "Starting services..."
GIT_ROOT=$(git rev-parse --show-toplevel)
pushd ${GIT_ROOT}
export HOST_GATEWAY='host-gateway'
overmind start
popd