script updates
This commit is contained in:
13
scripts/update.sh
Executable file
13
scripts/update.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}"))
|
||||
REPO_DIR=$(dirname $SCRIPT_DIR)
|
||||
cd $REPO_DIR
|
||||
|
||||
git submodule update --remote --init
|
||||
|
||||
alias compose="compose -f $REPO_DIR/docker-compose.yml"
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user