22 lines
251 B
Bash
Executable File
22 lines
251 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# bring system services up
|
|
#
|
|
SYS=/srv/sys
|
|
cd $SYS
|
|
|
|
up() {
|
|
#ensure updated image
|
|
docker compose -f $1/compose.yml up -d --force-recreate
|
|
}
|
|
|
|
if [ $1 ]
|
|
then
|
|
up $1
|
|
else
|
|
up "proxy"
|
|
up "mail"
|
|
up "cloud"
|
|
up "www"
|
|
fi
|