File tree 4 files changed +47
-0
lines changed
4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ MYSQL_ROOT_PASSWORD = root123!
2
+ MYSQL_USER = devs
3
+ MYSQL_PASSWORD = devs123!
Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 80 default;
3
+
4
+ client_max_body_size 108M;
5
+
6
+ access_log /var/log/nginx/application.access.log;
7
+
8
+ root /var/www/html;
9
+ index index.php;
10
+
11
+ if (!-e $request_filename) {
12
+ rewrite ^.*$ /index.php last;
13
+ }
14
+
15
+ location ~ \.php$ {
16
+ fastcgi_pass php-fpm:9000;
17
+ fastcgi_index index.php;
18
+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
19
+ fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log";
20
+ fastcgi_buffers 16 16k;
21
+ fastcgi_buffer_size 32k;
22
+ include fastcgi_params;
23
+ }
24
+
25
+ }
Original file line number Diff line number Diff line change
1
+ FROM phpdockerio/php73-fpm:latest
2
+ WORKDIR "/var/www/html"
3
+
4
+ # Fix debconf warnings upon build
5
+ ARG DEBIAN_FRONTEND=noninteractive
6
+
7
+ # Install selected extensions and other stuff
8
+ RUN apt-get update \
9
+ && apt-get -y --no-install-recommends install php7.3-mysql php7.3-gd php-imagick php7.3-imap php7.3-intl \
10
+ && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
11
+
12
+ # Install git
13
+ RUN apt-get update \
14
+ && apt-get -y install git \
15
+ && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
Original file line number Diff line number Diff line change
1
+ upload_max_filesize = 100M
2
+ post_max_size = 108M
3
+ max_execution_time = 3600
4
+ memory_limit = 256M
You can’t perform that action at this time.
0 commit comments