rename: wireguard -> docker-compose

This commit is contained in:
2025-07-31 15:13:55 +02:00
parent 06ed6c5607
commit c71553f6b0

19
scripts/docker-compose.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
INSTALLED=$1
if [[ "--install" == $INSTALLED ]]; then
source /usr/local/bin/libs/common.sh
info_print "\n\
==================================================\n\
docker-compose Installation\n\
--------------------------------------------------"
if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then
docker compose up -d -f $ETC_DIR/docker-compose.yml && \
info_print "$ETC_DIR/docker-compose.yml is running." 2;
else info_print "no docker-compose.yml found at $ETC_DIR" 6;
fi
exit 0;
fi