Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
74dfc886
authored
Nov 08, 2018
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add script sys-status.sh
parent
c5b5b498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
docker/script/sys-status.sh
docker/script/sys-status.sh
0 → 100755
View file @
74dfc886
#!/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\n
status of
${
DOCKER_FILE
}
..."
/usr/local/bin/docker-compose
-f
$DOCKER_FILE
ps
}
##### main #####
cd
/opt/mcx/config/docker/
show_status
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment