1
0

Added Docker

This commit is contained in:
2025-04-01 16:25:40 +02:00
parent 97377d2c11
commit 3376284ac4
6 changed files with 44 additions and 1 deletions

12
configuring.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
if [ $FIRSTRUN == "true" ]; then
echo "FIRSTRUN true configuring db and permissions"
cd /var/www/freezer-web-app
chown -R www-data ./database
php artisan migrate --force
apache2ctl -D FOREGROUND
else
echo "FIRSTRUN false configuration already done"
apache2ctl -D FOREGROUND
fi