Files
2023-07-27 18:05:35 -05:00

12 lines
325 B
Bash
Executable File

#!/bin/bash
set -a #exports all variables and sourced variables
CURRENT_PATH="$(dirname -- "${BASH_SOURCE[0]}")"
source $VARIABLES_DIR
source $CURRENT_PATH/vars
if [[ "$RUN_PULL_CONTAINER" == "Y" ]]; then
docker-compose -f $CURRENT_PATH/docker-compose.yml pull
fi
docker-compose -f $CURRENT_PATH/docker-compose.yml up -d