Added base directories, configs, and script
This commit is contained in:
11
data/docker/default/compose/up
Executable file
11
data/docker/default/compose/up
Executable 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
|
Reference in New Issue
Block a user