Skip to content

Commit

Permalink
fix for 7.0.1/7.0.2-dev dockers to support kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 23, 2023
1 parent 5bd533d commit d7d935e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/openemr/7.0.1/openemr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,14 @@ if [ "$AUTHORITY" == "yes" ] &&
rm -f /var/www/localhost/htdocs/openemr/sites/docker-leader
fi

if [ "$SWARM_MODE" == "yes" ]; then
# Set flag that the instance is ready when in swarm mode
echo ""
echo "swarm mode on: this instance is ready"
echo ""
touch /root/instance-swarm-ready
fi

echo ""
echo "Love OpenEMR? You can now support the project via the open collective:"
echo " > https://opencollective.com/openemr/donate"
Expand Down
8 changes: 8 additions & 0 deletions docker/openemr/7.0.2/openemr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,14 @@ if [ "$AUTHORITY" == "yes" ] &&
rm -f /var/www/localhost/htdocs/openemr/sites/docker-leader
fi

if [ "$SWARM_MODE" == "yes" ]; then
# Set flag that the instance is ready when in swarm mode
echo ""
echo "swarm mode on: this instance is ready"
echo ""
touch /root/instance-swarm-ready
fi

echo ""
echo "Love OpenEMR? You can now support the project via the open collective:"
echo " > https://opencollective.com/openemr/donate"
Expand Down

0 comments on commit d7d935e

Please sign in to comment.