#!/bin/sh set -e # Make sure the bind-mounted data dir is writable by the Apache user # inside the container. Bind mounts from the host land as root:root by # default which would prevent the relay from creating support.db + # master.key on first boot. mkdir -p /var/www/html/data chown -R www-data:www-data /var/www/html/data chmod 755 /var/www/html/data exec apache2-foreground