initial commit

This commit is contained in:
2026-05-06 11:28:41 +02:00
commit 39ee31debb
23 changed files with 1645 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM php:8.3-fpm-alpine
RUN docker-php-ext-install pcntl sockets
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /app
+9
View File
@@ -0,0 +1,9 @@
FROM php:8.3-cli-alpine
RUN apk add --no-cache linux-headers git
RUN docker-php-ext-install pcntl sockets
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /app
+15
View File
@@ -0,0 +1,15 @@
server {
listen 80;
root /app/public;
index index.html;
location / {
try_files $uri /index.html /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_pass api:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}