Skip to content

Commit

Permalink
docker 7.0.1 changes to better support kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Feb 15, 2023
1 parent 81cdb04 commit ebf6c98
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker/openemr/7.0.1/openemr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,6 @@ if $REDISKEY ; then
chmod 744 /var/www/localhost/htdocs/openemr/sites/default/documents/certificates/redis-key
fi

if [ "$AUTHORITY" == "yes" ] &&
[ "$SWARM_MODE" == "yes" ]; then
# Set flag that the docker-leader configuration is complete
touch /var/www/localhost/htdocs/openemr/sites/docker-completed
rm -f /var/www/localhost/htdocs/openemr/sites/docker-leader
fi

if [ "$REDIS_SERVER" != "" ] &&
[ ! -f /etc/php-redis-configured ]; then

Expand Down Expand Up @@ -392,6 +385,13 @@ if [ "$XDEBUG_IDE_KEY" != "" ] ||
sh xdebug.sh
fi

if [ "$AUTHORITY" == "yes" ] &&
[ "$SWARM_MODE" == "yes" ]; then
# Set flag that the docker-leader configuration is complete
touch /var/www/localhost/htdocs/openemr/sites/docker-completed
rm -f /var/www/localhost/htdocs/openemr/sites/docker-leader
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 ebf6c98

Please sign in to comment.