From: LeonardoBizzoni Date: Fri, 6 May 2022 19:28:45 +0000 (+0200) Subject: Split nginx php missing doc X-Git-Url: http://git.leonardobizzoni.com/?a=commitdiff_plain;h=27401ffb08c5f6f86304059241dd168a3120f464;p=highschool-graduation-project Split nginx php missing doc --- diff --git a/dockerfiles/bll/Dockerfile b/dockerfiles/bll/Dockerfile index b826006..f32ad28 100644 --- a/dockerfiles/bll/Dockerfile +++ b/dockerfiles/bll/Dockerfile @@ -1,14 +1,5 @@ -FROM php:8.1.4-fpm-alpine3.14 +FROM php:8.1.6RC1-fpm-alpine3.15 WORKDIR /var/www/html -RUN apk update && apk add --no-cache \ - php8 \ - php8-fpm \ - php8-mysqli \ - php8-pdo \ - RUN docker-php-ext-install pdo pdo_mysql mysqli - RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -CMD php-fpm -D diff --git a/dockerfiles/docker-compose.yml b/dockerfiles/docker-compose.yml index ec92419..047f48f 100644 --- a/dockerfiles/docker-compose.yml +++ b/dockerfiles/docker-compose.yml @@ -14,6 +14,8 @@ services: db: image: "mariadb" + volumes: + - ../DBfiles:/var/lib/mysql environment: MARIADB_USER: "root" MARIADB_ROOT_PASSWORD: "root" diff --git a/dockerfiles/web/nginx.conf b/dockerfiles/web/nginx.conf index 8a5dac6..1fbcfbc 100644 --- a/dockerfiles/web/nginx.conf +++ b/dockerfiles/web/nginx.conf @@ -21,6 +21,7 @@ http { } location ~ \.php$ { + fastcgi_read_timeout 300; fastcgi_pass app:9000; fastcgi_index index.php; include fastcgi.conf; diff --git a/scripts/newIdol.php b/scripts/newIdol.php deleted file mode 100644 index e9a6556..0000000 --- a/scripts/newIdol.php +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - -" . $idol . " - - -
-
- - -
- -
- -
-
- - - -"); - fclose($idolFile); - - header("Location:/ProgettoAnime/vtuber.php"); -} else if (str_contains($idolPage, "youtube.com")) { - echo "Prima o poi"; -} else { - echo "wtf"; -}