script updates

This commit is contained in:
John Lancaster
2024-09-29 21:50:12 +00:00
parent b2088dd656
commit e7a6a5ab1f
6 changed files with 16 additions and 15 deletions

View File

@@ -1,12 +1,11 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}"))
REPO_DIR=$(dirname $SCRIPT_DIR)
readonly SCRIPT_DIR=$(dirname $(readlink -f "${BASH_SOURCE[0]}"))
readonly REPO_DIR=$(cd $(dirname $SCRIPT_DIR) && pwd)
$SCRIPT_DIR/clear_data.sh
$SCRIPT_DIR/create_password.sh
alias compose="compose -f $REPO_DIR/docker-compose.yml"
docker compose up -d