fix: stuff from server-docker-compose.sh
This commit is contained in:
parent
253dbe741c
commit
b4fce18062
1 changed files with 4 additions and 4 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
# manage docker-compose with this macro
|
||||
|
||||
if ! [ -d "servers/$(hostname)" ]; then
|
||||
echo "couldn't find servers/$(hostname)"
|
||||
if ! [ -d "servers/$HOSTNAME" ]; then
|
||||
echo "couldn't find servers/$HOSTNAME"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dc_args="-p $(hostname)"
|
||||
for f in servers/$(hostname)/docker-compose.d/*.yml; do
|
||||
dc_args="-p $HOSTNAME"
|
||||
for f in servers/$HOSTNAME/docker-compose.d/*.yml; do
|
||||
dc_args="$dc_args -f $f"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue