Skip to content

Commit

Permalink
ensure the ownership of the data in volumes is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
mollux committed Jan 31, 2024
1 parent eff0560 commit d478f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/entrypoint_mautic_web.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

chown -R www-data:www-data /var/www/html/config /var/www/html/var/logs /var/www/html/docroot/media

# wait untill the db is fully up before proceeding
while [[ $(mysqladmin --host=$MYSQL_HOST --port=$MYSQL_PORT --user=$MYSQL_USER --password=$MYSQL_PASSWORD ping) != "mysqld is alive" ]]; do
sleep 1
Expand Down

0 comments on commit d478f1b

Please sign in to comment.