initial commit
This commit is contained in:
24
up
Executable file
24
up
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# bring system services up
|
||||
#
|
||||
SYS=/srv/sys
|
||||
cd $SYS
|
||||
|
||||
up() {
|
||||
#ensure updated image
|
||||
DIR=$1
|
||||
shift;
|
||||
docker compose -f $DIR/docker-compose.yml build --pull
|
||||
# docker compose -f $1/docker-compose.yml up -d --force-recreate
|
||||
# docker compose --remove-orphans --progress=plain -f $DIR/docker-compose.yml up -d
|
||||
docker compose -f $DIR/docker-compose.yml up -d
|
||||
}
|
||||
|
||||
if [ $1 ]
|
||||
then
|
||||
up $1
|
||||
else
|
||||
up "florida/samba"
|
||||
up "florida/homebridge"
|
||||
fi
|
||||
Reference in New Issue
Block a user