mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Clean output SKIP_CI
This commit is contained in:
16
stack.sh
16
stack.sh
@@ -42,6 +42,14 @@ check_versions() {
|
|||||||
|
|
||||||
echo "Docker and Docker Compose versions are compatible."
|
echo "Docker and Docker Compose versions are compatible."
|
||||||
|
|
||||||
|
<<<<<<< HEAD:stack.sh
|
||||||
|
=======
|
||||||
|
# Get uptime of the stack
|
||||||
|
echo "Stack Uptime:"
|
||||||
|
$DOCKER_COMPSE_CMD ps | awk 'NR>1 {print $4}'
|
||||||
|
echo
|
||||||
|
|
||||||
|
>>>>>>> Clean output SKIP_CI:stack_management.sh
|
||||||
# Get internal IP addresses
|
# Get internal IP addresses
|
||||||
echo "Internal IP Addresses:"
|
echo "Internal IP Addresses:"
|
||||||
$DOCKER_COMPSE_CMD exec -T db sh -c 'ip addr show eth0 | grep "inet " | awk "{print \$2}" | cut -d/ -f1'
|
$DOCKER_COMPSE_CMD exec -T db sh -c 'ip addr show eth0 | grep "inet " | awk "{print \$2}" | cut -d/ -f1'
|
||||||
@@ -76,7 +84,11 @@ display_info() {
|
|||||||
# Display Docker tag and registry information
|
# Display Docker tag and registry information
|
||||||
echo "Phraseanet Docker Tag: ${PHRASEANET_DOCKER_TAG:-Not set}"
|
echo "Phraseanet Docker Tag: ${PHRASEANET_DOCKER_TAG:-Not set}"
|
||||||
echo "Phraseanet Docker Registry: ${PHRASEANET_DOCKER_REGISTRY:-Not set}"
|
echo "Phraseanet Docker Registry: ${PHRASEANET_DOCKER_REGISTRY:-Not set}"
|
||||||
|
<<<<<<< HEAD:stack.sh
|
||||||
echo
|
echo
|
||||||
|
=======
|
||||||
|
echo
|
||||||
|
>>>>>>> Clean output SKIP_CI:stack_management.sh
|
||||||
|
|
||||||
# Construct and display the internal URL of the Phraseanet instance
|
# Construct and display the internal URL of the Phraseanet instance
|
||||||
if [ -n "$PHRASEANET_HOSTNAME" ] && [ -n "$PHRASEANET_SCHEME" ] && [ -n "$PHRASEANET_APP_PORT" ]; then
|
if [ -n "$PHRASEANET_HOSTNAME" ] && [ -n "$PHRASEANET_SCHEME" ] && [ -n "$PHRASEANET_APP_PORT" ]; then
|
||||||
@@ -104,6 +116,10 @@ display_info() {
|
|||||||
else
|
else
|
||||||
echo "Last Update unknown, config/configuration-compiled.php not found."
|
echo "Last Update unknown, config/configuration-compiled.php not found."
|
||||||
echo
|
echo
|
||||||
|
<<<<<<< HEAD:stack.sh
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> Clean output SKIP_CI:stack_management.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if the Phraseanet container is running
|
# Check if the Phraseanet container is running
|
||||||
|
Reference in New Issue
Block a user