1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Alter docker paths

This commit is contained in:
Timo Schwarzer
2019-08-12 22:19:58 +02:00
parent b608bb8859
commit c6b1f36412
4 changed files with 12 additions and 10 deletions

14
dev/docker/entrypoint.app.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
env
if [[ -n "$1" ]]; then
exec "$@"
else
wait-for-it db:3306 -t 45
php artisan migrate --database=mysql
chown -R www-data:www-data storage
exec apache2-foreground
fi