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
|
# manage docker-compose with this macro
|
||||||
|
|
||||||
if ! [ -d "servers/$(hostname)" ]; then
|
if ! [ -d "servers/$HOSTNAME" ]; then
|
||||||
echo "couldn't find servers/$(hostname)"
|
echo "couldn't find servers/$HOSTNAME"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dc_args="-p $(hostname)"
|
dc_args="-p $HOSTNAME"
|
||||||
for f in servers/$(hostname)/docker-compose.d/*.yml; do
|
for f in servers/$HOSTNAME/docker-compose.d/*.yml; do
|
||||||
dc_args="$dc_args -f $f"
|
dc_args="$dc_args -f $f"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue