Module DigressivePrice
This commit is contained in:
0
.well-known/.docker/mysql-data/.gitkeep
Normal file
0
.well-known/.docker/mysql-data/.gitkeep
Normal file
55
.well-known/.docker/nginx/nginx.conf
Normal file
55
.well-known/.docker/nginx/nginx.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
root /application/web/;
|
||||
index index.php;
|
||||
|
||||
access_log /var/log/nginx/starter.tld_access.log;
|
||||
error_log /var/log/nginx/starter.tld_error.log;
|
||||
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ @rewriteapp;
|
||||
}
|
||||
|
||||
location @rewriteapp {
|
||||
# rewrite all to index.php
|
||||
rewrite ^(.*)$ /index.php/$1 last;
|
||||
}
|
||||
|
||||
# Php configuration
|
||||
location ~ ^/(index|index_dev)\.php(/|$) {
|
||||
# Php-FPM Config (Socks or Network)
|
||||
#fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
|
||||
fastcgi_pass php-fpm:9000;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_read_timeout 3000;
|
||||
}
|
||||
|
||||
# Security. discard all files and folders starting with a "."
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
# Stuffs
|
||||
location = /favicon.ico {
|
||||
allow all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
location ~ /robots.txt {
|
||||
allow all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
# Static files
|
||||
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|pdf|zip)$ {
|
||||
expires 30d;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
}
|
||||
19
.well-known/.docker/php-fpm/Dockerfile
Normal file
19
.well-known/.docker/php-fpm/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM phpdockerio/php73-fpm:latest
|
||||
WORKDIR "/application"
|
||||
|
||||
# Fix debconf warnings upon build
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install selected extensions and other stuff
|
||||
RUN apt-get update \
|
||||
&& apt-get -y --no-install-recommends install php-mysql php7.3-mysql php7.3-gd php-imagick php7.3-intl php-yaml php-xdebug \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
# Install git
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install vim \
|
||||
&& apt-get clean;
|
||||
17
.well-known/.docker/php-fpm/php-ini-overrides.ini
Normal file
17
.well-known/.docker/php-fpm/php-ini-overrides.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 108M
|
||||
html_errors=On
|
||||
display_errors=On
|
||||
date.timezone=Europe/Paris
|
||||
memory_limit=-1
|
||||
max_execution_time = 300
|
||||
|
||||
xdebug.idekey = "PHPSTORM"
|
||||
xdebug.remote_enable=1
|
||||
xdebug.remote_autostart=1
|
||||
xdebug.remote_port=9000
|
||||
xdebug.remote_connect_back=1
|
||||
xdebug.remote_handler=dbgp
|
||||
xdebug.profiler_enable=0
|
||||
xdebug.profiler_enable_trigger=1
|
||||
xdebug.profiler_output_dir="/application/log"
|
||||
Reference in New Issue
Block a user