Build Laravel 13 ticket assistant with Docker, Livewire admin, and helpdesk scraper command

This commit is contained in:
SitiWeb
2026-04-29 13:11:39 +02:00
parent 141a1a3c9b
commit 3c4572bb12
58 changed files with 9377 additions and 455 deletions

21
docker/nginx/default.conf Normal file
View File

@@ -0,0 +1,21 @@
server {
listen 80;
server_name localhost;
root /var/www/public;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass app:9000;
fastcgi_index index.php;
}
location ~ /\.ht {
deny all;
}
}

22
docker/php/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM php:8.3-fpm-alpine
WORKDIR /var/www
RUN apk add --no-cache \
bash \
curl \
git \
libpq \
libzip-dev \
oniguruma-dev \
postgresql-dev \
unzip \
zip \
icu-dev \
$PHPIZE_DEPS \
&& docker-php-ext-install pdo_pgsql mbstring zip intl \
&& rm -rf /var/cache/apk/*
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
CMD ["php-fpm", "-F"]