mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Adding latest version info
This commit is contained in:
15
stack.sh
15
stack.sh
@@ -42,14 +42,6 @@ check_versions() {
|
||||
|
||||
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
|
||||
echo "Internal IP Addresses:"
|
||||
$DOCKER_COMPSE_CMD exec -T db sh -c 'ip addr show eth0 | grep "inet " | awk "{print \$2}" | cut -d/ -f1'
|
||||
@@ -84,11 +76,15 @@ display_info() {
|
||||
# Display Docker tag and registry information
|
||||
echo "Phraseanet Docker Tag: ${PHRASEANET_DOCKER_TAG:-Not set}"
|
||||
echo "Phraseanet Docker Registry: ${PHRASEANET_DOCKER_REGISTRY:-Not set}"
|
||||
<<<<<<< HEAD:stack.sh
|
||||
<<<<<<< HEAD:stack.sh
|
||||
echo
|
||||
=======
|
||||
echo
|
||||
>>>>>>> Clean output SKIP_CI:stack_management.sh
|
||||
=======
|
||||
echo
|
||||
>>>>>>> Adding latest version info:stack_management.sh
|
||||
|
||||
# Construct and display the internal URL of the Phraseanet instance
|
||||
if [ -n "$PHRASEANET_HOSTNAME" ] && [ -n "$PHRASEANET_SCHEME" ] && [ -n "$PHRASEANET_APP_PORT" ]; then
|
||||
@@ -117,9 +113,12 @@ display_info() {
|
||||
echo "Last Update unknown, config/configuration-compiled.php not found."
|
||||
echo
|
||||
<<<<<<< HEAD:stack.sh
|
||||
<<<<<<< HEAD:stack.sh
|
||||
=======
|
||||
|
||||
>>>>>>> Clean output SKIP_CI:stack_management.sh
|
||||
=======
|
||||
>>>>>>> Adding latest version info:stack_management.sh
|
||||
fi
|
||||
|
||||
# Check if the Phraseanet container is running
|
||||
|
Reference in New Issue
Block a user