Added base directories, configs, and script

This commit is contained in:
Allen
2023-07-27 18:05:35 -05:00
commit e2006ff020
8 changed files with 373 additions and 0 deletions

11
data/docker/default/compose/up Executable file
View File

@ -0,0 +1,11 @@
#!/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