Skip to content

Commit

Permalink
Merge pull request parsa-epfl#99 from sjp38/fix_webserving
Browse files Browse the repository at this point in the history
Apply workaround for Docker using overlayfs.
  • Loading branch information
Hnefi authored Jan 30, 2019
2 parents 1a1eb1d + e48bc24 commit 03f35fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benchmarks/web-serving/db_server/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ fi

WEB_SERVER_IP=$1

# workaround for overlayfs:
# https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#limitations-on-overlayfs-compatibility
find /var/lib/mysql -type f -exec touch {} \;

# Update the hostname/IP to that of the webserver
sed -i -e"s/HOST_IP/${WEB_SERVER_IP}:8080/" /elgg_db.dump
chmod a+x /execute.sh
Expand Down

0 comments on commit 03f35fa

Please sign in to comment.