Ergänze Deploy-Gerüst und verweise die Agentenregeln auf CLAUDE.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 08:14:57 +01:00
1 parent ec009a187b
commit 89b35ac480
18 files changed
+880

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
# Container-Start: Schreibrechte für storage, Laravel-Caches (nur php-fpm), dann Dienst als www-data.
set -e
cd /var/www/html
mkdir -p storage/framework/cache/data storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache
if [ "$1" = "php-fpm" ]; then
su-exec www-data php artisan config:cache
su-exec www-data php artisan route:cache
su-exec www-data php artisan view:cache
su-exec www-data php artisan event:cache
exec "$@"
fi
exec su-exec www-data "$@"
+23
View File
@@ -0,0 +1,23 @@
server {
listen 80;
server_name _;
root /var/www/html/public;
index index.php;
client_max_body_size 64m;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass app:9000;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_read_timeout 120s;
}
location ~ /\.(?!well-known) {
deny all;
}
}
+7
View File
@@ -0,0 +1,7 @@
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
expose_php = Off
opcache.enable = 1
opcache.validate_timestamps = 0
opcache.max_accelerated_files = 20000