add Docker setup

This commit is contained in:
Ivo Spijkerman
2025-08-31 16:30:27 +02:00
parent a64f98a3ca
commit cdbf09e5e4
11 changed files with 173 additions and 88 deletions

15
docker/start.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -ex
mkdir -p /var/log/supervisor
# Run migrations
php artisan migrate --force
# Clear and cache config
php artisan config:cache
php artisan route:cache
php artisan view:cache
# Start supervisor
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf