Commit 74dfc886 by Adi Amir

add script sys-status.sh

parent c5b5b498
Showing with 25 additions and 0 deletions
#!/bin/bash
show_status() {
show_docker_status mcx-external.yml
show_docker_status mcx-backend.yml
show_docker_status mcx-frontend.yml
}
show_docker_status() {
DOCKER_FILE=$1
echo -e "\n\nstatus of ${DOCKER_FILE} ..."
/usr/local/bin/docker-compose -f $DOCKER_FILE ps
}
##### main #####
cd /opt/mcx/config/docker/
show_status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment