script updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user