Compare commits
13 Commits
dce19c42fe
...
master
Author | SHA1 | Date | |
---|---|---|---|
4e1ad3b0bb | |||
43fd5dae4b | |||
70f5e01793 | |||
c610a39441 | |||
b60aa7fae1 | |||
ca403873f5 | |||
52cf652608 | |||
9a231e50e2 | |||
bdc13d5e07 | |||
264bf5a660 | |||
f1c8eb0e3b | |||
836e6586b8 | |||
c5757c47e2 |
3
.env
3
.env
@@ -4,6 +4,7 @@ PROJECT_ROOT=./public_html
|
|||||||
LEGACY_ROOT=./public_html_legacy
|
LEGACY_ROOT=./public_html_legacy
|
||||||
LOG_ROOT=./log
|
LOG_ROOT=./log
|
||||||
SOLR_CORES=./solr_cores
|
SOLR_CORES=./solr_cores
|
||||||
|
SOLR_DATA=./solr_data
|
||||||
|
|
||||||
DB_IMPORTE_FILE_D8=./ressources/materio_d8.sql
|
DB_IMPORTE_FILE_D8=./ressources/materio_d8.sql
|
||||||
DB_IMPORTE_FILE_D7=./ressources/materio_d7.sql
|
DB_IMPORTE_FILE_D7=./ressources/materio_d7.sql
|
||||||
@@ -12,3 +13,5 @@ DB_NAME=materio_d8
|
|||||||
DB_LEGACY_NAME=materio_d7
|
DB_LEGACY_NAME=materio_d7
|
||||||
DB_USERNAME=materio
|
DB_USERNAME=materio
|
||||||
DB_PASSWORD=materio
|
DB_PASSWORD=materio
|
||||||
|
|
||||||
|
XDEBUG_INI=./ressources/xdebug.ini
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@@ -5,3 +5,7 @@ log/*
|
|||||||
*.sql
|
*.sql
|
||||||
bin/syncfiles.sh
|
bin/syncfiles.sh
|
||||||
solr_cores/*
|
solr_cores/*
|
||||||
|
solr_data/*
|
||||||
|
var_solr/*
|
||||||
|
ressources/xdebug.ini
|
||||||
|
ressources/*.sql.gz
|
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,9 +1,9 @@
|
|||||||
[submodule "public_html_legacy"]
|
[submodule "public_html_legacy"]
|
||||||
path = public_html_legacy
|
path = public_html_legacy
|
||||||
url = https://figureslibres.io/gogs/bachir/materio-base-d7.git
|
url = https://figureslibres.io/gitea/bachir/materio-base-legacy
|
||||||
[submodule "public_html"]
|
[submodule "public_html"]
|
||||||
path = public_html
|
path = public_html
|
||||||
url = https://figureslibres.io/gogs/bachir/materio-d8.git
|
url = https://figureslibres.io/gitea/bachir/materio-d9.git
|
||||||
[submodule "solr_cores"]
|
[submodule "solr_cores"]
|
||||||
path = solr_cores
|
path = solr_cores
|
||||||
url = https://figureslibres.io/gogs/bachir/solr-materio-d8.git
|
url = https://figureslibres.io/gitea/bachir/solr-materio.git
|
||||||
|
@@ -2,13 +2,13 @@ server {
|
|||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
root /var/www/html/d8.materio.com/public_html/web;
|
root /var/www/html/d8.materio.com/public_html/web;
|
||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
server_name *.materio.com;
|
server_name *.materio.com materio.sish.me;
|
||||||
|
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
location / {
|
# location / {
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
# try_files $uri $uri/ /index.php?$query_string;
|
||||||
}
|
# }
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
location = /robots.txt { access_log off; log_not_found off; }
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
@@ -20,19 +20,137 @@ server {
|
|||||||
|
|
||||||
client_max_body_size 100m;
|
client_max_body_size 100m;
|
||||||
|
|
||||||
location ~ \.php$ {
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
# Very rarely should these ever be accessed outside of your lan
|
||||||
fastcgi_pass php:9000;
|
location ~* \.(txt|log)$ {
|
||||||
fastcgi_index index.php;
|
allow 192.168.0.0/16;
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \..*/.*\.php$ {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ ^/sites/.*/private/ {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Allow "Well-Known URIs" as per RFC 5785
|
||||||
|
location ~* ^/.well-known/ {
|
||||||
|
allow all;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Block access to "hidden" files and directories whose names begin with a
|
||||||
|
# period. This includes directories used by version control systems such
|
||||||
|
# as Subversion or Git to store control files.
|
||||||
|
location ~ (^|/)\. {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# try_files $uri @rewrite; # For Drupal <= 6
|
||||||
|
try_files $uri /index.php?$query_string; # For Drupal >= 7
|
||||||
|
}
|
||||||
|
|
||||||
|
location @rewrite {
|
||||||
|
rewrite ^/(.*)$ /index.php?q=$1;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Don't allow direct access to PHP files in the vendor directory.
|
||||||
|
location ~ /vendor/.*\.php$ {
|
||||||
|
deny all;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
|
# In Drupal 10, we must also match new paths where the '.php' appears in
|
||||||
|
# the middle, such as update.php/selection. The rule we use is strict,
|
||||||
|
# and only allows this pattern with the update.php front controller.
|
||||||
|
# This allows legacy path aliases in the form of
|
||||||
|
# blog/index.php/legacy-path to continue to route to Drupal nodes. If
|
||||||
|
# you do not have any paths like that, then you might prefer to use a
|
||||||
|
# laxer rule, such as:
|
||||||
|
# location ~ \.php(/|$) {
|
||||||
|
# The laxer rule will continue to work if Drupal uses this new URL
|
||||||
|
# pattern with front controllers other than update.php in a future
|
||||||
|
# release.
|
||||||
|
location ~ '\.php$|^/update.php' {
|
||||||
|
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
|
||||||
|
# Security note: If you're running a version of PHP older than the
|
||||||
|
# latest 5.3, you should have "cgi.fix_pathinfo = 0;" in php.ini.
|
||||||
|
# See http://serverfault.com/q/627903/94922 for details.
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
# Block httpoxy attacks. See https://httpoxy.org/.
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_intercept_errors off;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
fastcgi_param QUERY_STRING $query_string;
|
||||||
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_buffer_size 16k;
|
fastcgi_buffer_size 16k;
|
||||||
fastcgi_buffers 4 16k;
|
fastcgi_buffers 4 16k;
|
||||||
fastcgi_read_timeout 150;
|
fastcgi_read_timeout 150;
|
||||||
|
|
||||||
|
# PHP 5 socket location.
|
||||||
|
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
|
# PHP 7 socket location.
|
||||||
|
#fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
||||||
|
#lando
|
||||||
|
fastcgi_pass php:9000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# location ~ \.php$ {
|
||||||
|
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
# fastcgi_pass php:9000;
|
||||||
|
# fastcgi_index index.php;
|
||||||
|
# include fastcgi_params;
|
||||||
|
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
# fastcgi_intercept_errors off;
|
||||||
|
# fastcgi_buffer_size 16k;
|
||||||
|
# fastcgi_buffers 4 16k;
|
||||||
|
# fastcgi_read_timeout 150;
|
||||||
|
# }
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_types application/json;
|
||||||
|
|
||||||
|
gzip_http_version 1.0;
|
||||||
|
gzip_static on;
|
||||||
|
|
||||||
|
|
||||||
|
# Fighting with Styles? This little gem is amazing.
|
||||||
|
# location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
|
||||||
|
location ~ ^(/[a-z\-]+)?/sites/.*/files/(css|js|styles)/ { # For Drupal >= 7
|
||||||
|
try_files $uri @rewrite;
|
||||||
|
}
|
||||||
|
# Handle private files through Drupal. Private file's path can come
|
||||||
|
# with a language prefix.
|
||||||
|
location ~ ^(/[a-z\-]+)?/system/files/ { # For Drupal >= 7
|
||||||
|
try_files $uri /index.php?$query_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||||
|
expires max;
|
||||||
|
log_not_found off;
|
||||||
|
}
|
||||||
|
|
||||||
|
## PWA serviceworker support.
|
||||||
|
# location ~ ^/pwa/[0-9a-z]+/serviceworker.js {
|
||||||
|
# try_files $uri /index.php?$query_string;
|
||||||
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
## PWA manifest support.
|
||||||
|
location ~ /manifest.json {
|
||||||
|
try_files $uri /index.php?$query_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~* \.(js|css|ttf|json)$ {
|
||||||
|
gzip_static on;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
34
Docker/npm/Dockerfile
Normal file
34
Docker/npm/Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
FROM node:lts-alpine
|
||||||
|
|
||||||
|
RUN apk update && apk --no-cache add shadow && \
|
||||||
|
usermod -u 1001 node && \
|
||||||
|
groupmod -g 1001 node
|
||||||
|
|
||||||
|
RUN find / -group 1000 -exec chgrp -h node {} \;
|
||||||
|
RUN find / -user 1000 -exec chown -h node {} \;
|
||||||
|
|
||||||
|
RUN apk add --no-cache openssh sshpass
|
||||||
|
|
||||||
|
ARG USER_UID
|
||||||
|
ARG USER_UNAME
|
||||||
|
ARG USER_GID
|
||||||
|
ARG USER_GNAME
|
||||||
|
|
||||||
|
|
||||||
|
# RUN addgroup -g 1000 gdp && \
|
||||||
|
# adduser -h /home/gdp -D -u 1000 gdp && \
|
||||||
|
RUN adduser -u ${USER_UID} -G users -s /bin/sh -D ${USER_UNAME}
|
||||||
|
# chown -R gdp:gdp /home/gdp
|
||||||
|
|
||||||
|
USER ${USER_UNAME}
|
||||||
|
|
||||||
|
COPY ./bashrc /home/${USER_UNAME}/.bashrc
|
||||||
|
COPY ./inputrc /home/${USER_UNAME}/.inputrc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./client-entrypoint.sh /usr/local/bin
|
||||||
|
USER root
|
||||||
|
RUN chmod +x /usr/local/bin/client-entrypoint.sh
|
||||||
|
USER ${USER_UNAME}
|
||||||
|
CMD ["/bin/sh","/usr/local/bin/client-entrypoint.sh"]
|
3
Docker/npm/bashrc
Normal file
3
Docker/npm/bashrc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
PS1='\e[36m\e[1mNODE\e[0m:\e[90m\w\e[0m\n$ '
|
||||||
|
bind '"\e[A": history-search-backward'
|
||||||
|
bind '"\e[B": history-search-forward'
|
19
Docker/npm/client-entrypoint.sh
Normal file
19
Docker/npm/client-entrypoint.sh
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# cat /etc/passwd|grep 1000
|
||||||
|
cd /app
|
||||||
|
|
||||||
|
# echo "Cleaning node_modules"
|
||||||
|
# rm -rf node_modules
|
||||||
|
#
|
||||||
|
# echo "Cleaning npm cache"
|
||||||
|
# npm cache clean --f
|
||||||
|
#
|
||||||
|
# echo "Npm install"
|
||||||
|
# npm install
|
||||||
|
|
||||||
|
echo "Npm Clean Install"
|
||||||
|
npm ci
|
||||||
|
|
||||||
|
echo "Run npm dev"
|
||||||
|
npm run dev
|
2
Docker/npm/inputrc
Normal file
2
Docker/npm/inputrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
set show-all-if-ambiguous on
|
||||||
|
set completion-ignore-case on
|
@@ -31,12 +31,13 @@ RUN export COMPOSER_HOME=/usr/local/composer && \
|
|||||||
-L -o /usr/local/bin/drush && \
|
-L -o /usr/local/bin/drush && \
|
||||||
chmod +x /usr/local/bin/drush
|
chmod +x /usr/local/bin/drush
|
||||||
|
|
||||||
RUN apt-get install -y curl && \
|
# todo this is not building any more, do i really need this ? (22-10-2021)
|
||||||
curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
# RUN apt-get install -y curl && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
# curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
apt-get update && \
|
# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get install -y nodejs yarn
|
# apt-get update && \
|
||||||
|
# apt-get install -y nodejs yarn
|
||||||
|
|
||||||
RUN apt-get install -y rsyslog
|
RUN apt-get install -y rsyslog
|
||||||
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
||||||
|
@@ -1,15 +1,17 @@
|
|||||||
FROM php:7.3-fpm
|
FROM php:8.1-fpm-bullseye
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libjpeg62-turbo-dev \
|
libjpeg62-turbo-dev \
|
||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
mysql-client \
|
default-mysql-client \
|
||||||
zip \
|
zip \
|
||||||
|
net-tools iproute2 \
|
||||||
libzip-dev && \
|
libzip-dev && \
|
||||||
|
cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini && \
|
||||||
# docker-php-ext-install -j$(nproc) iconv && \
|
# docker-php-ext-install -j$(nproc) iconv && \
|
||||||
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ && \
|
||||||
apt-get install -y imagemagick libmagickwand-dev && \
|
apt-get install -y imagemagick libmagickwand-dev && \
|
||||||
pecl install imagick && docker-php-ext-enable imagick && \
|
pecl install imagick && docker-php-ext-enable imagick && \
|
||||||
docker-php-ext-install -j$(nproc) gd && \
|
docker-php-ext-install -j$(nproc) gd && \
|
||||||
@@ -17,8 +19,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
docker-php-ext-install opcache && \
|
docker-php-ext-install opcache && \
|
||||||
docker-php-ext-install bcmath && \
|
docker-php-ext-install bcmath && \
|
||||||
apt-get install -y git vim && \
|
apt-get install -y git vim && \
|
||||||
pecl install redis-4.3.0 && \
|
pecl install redis-5.3.7 && \
|
||||||
pecl install xdebug-2.7.0 && \
|
pecl install xdebug-3.1.3 && \
|
||||||
docker-php-ext-enable redis xdebug
|
docker-php-ext-enable redis xdebug
|
||||||
|
|
||||||
RUN export COMPOSER_HOME=/usr/local/composer && \
|
RUN export COMPOSER_HOME=/usr/local/composer && \
|
||||||
@@ -31,12 +33,13 @@ RUN export COMPOSER_HOME=/usr/local/composer && \
|
|||||||
-L -o /usr/local/bin/drush && \
|
-L -o /usr/local/bin/drush && \
|
||||||
chmod +x /usr/local/bin/drush
|
chmod +x /usr/local/bin/drush
|
||||||
|
|
||||||
RUN apt-get install -y curl && \
|
# todo this is not building any more, do i really need this ? (22-10-2021)
|
||||||
curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
# RUN apt-get install -y curl && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
# curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
apt-get update && \
|
# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get install -y nodejs yarn
|
# apt-get update && \
|
||||||
|
# apt-get install -y nodejs yarn
|
||||||
|
|
||||||
RUN apt-get install -y rsyslog
|
RUN apt-get install -y rsyslog
|
||||||
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
||||||
@@ -45,8 +48,6 @@ COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf
|
|||||||
COPY ./php-custom.ini /usr/local/etc/php/conf.d/php-custom.ini
|
COPY ./php-custom.ini /usr/local/etc/php/conf.d/php-custom.ini
|
||||||
# COPY ./php-fpm-custom.conf /usr/local/etc/php-fpm.d/php-fpm-custom.conf
|
# COPY ./php-fpm-custom.conf /usr/local/etc/php-fpm.d/php-fpm-custom.conf
|
||||||
|
|
||||||
# COPY ./bashrc /root/.bashrc
|
|
||||||
# COPY ./inputrc /root/.inputrc
|
|
||||||
|
|
||||||
ARG USER_UID
|
ARG USER_UID
|
||||||
ARG USER_UNAME
|
ARG USER_UNAME
|
||||||
@@ -56,6 +57,7 @@ ARG USER_GNAME
|
|||||||
RUN if getent group ${USER_GNAME} ; then groupdel ${USER_GNAME}; fi &&\
|
RUN if getent group ${USER_GNAME} ; then groupdel ${USER_GNAME}; fi &&\
|
||||||
groupadd -g ${USER_GID} ${USER_GNAME} &&\
|
groupadd -g ${USER_GID} ${USER_GNAME} &&\
|
||||||
useradd -l -u ${USER_UID} -g ${USER_GNAME} ${USER_UNAME} &&\
|
useradd -l -u ${USER_UID} -g ${USER_GNAME} ${USER_UNAME} &&\
|
||||||
|
echo ${USER_UNAME}:${USER_UNAME} | chpasswd &&\
|
||||||
install -d -m 0755 -o ${USER_UNAME} -g ${USER_GNAME} /home/${USER_UNAME} &&\
|
install -d -m 0755 -o ${USER_UNAME} -g ${USER_GNAME} /home/${USER_UNAME} &&\
|
||||||
chown --changes --silent --no-dereference --recursive \
|
chown --changes --silent --no-dereference --recursive \
|
||||||
--from=33:33 ${USER_UID}:${USER_GID} \
|
--from=33:33 ${USER_UID}:${USER_GID} \
|
||||||
@@ -67,4 +69,27 @@ RUN if getent group ${USER_GNAME} ; then groupdel ${USER_GNAME}; fi &&\
|
|||||||
COPY ./bashrc /home/${USER_UNAME}/.bashrc
|
COPY ./bashrc /home/${USER_UNAME}/.bashrc
|
||||||
COPY ./inputrc /home/${USER_UNAME}/.inputrc
|
COPY ./inputrc /home/${USER_UNAME}/.inputrc
|
||||||
|
|
||||||
USER ${USER_UNAME}
|
# https://github.com/ProgDroid/composer_update_autocomplete
|
||||||
|
RUN mkdir /home/${USER_UNAME}/.bin
|
||||||
|
COPY ./composer_update_autocomplete /home/${USER_UNAME}/.bin/composer_update_autocomplete
|
||||||
|
RUN printf "complete -C /home/${USER_UNAME}/.composer_update_autocomplete/src/main.rs composer update" >> /home/${USER_UNAME}/.bashrc
|
||||||
|
|
||||||
|
# https://dev.to/s1ntaxe770r/how-to-setup-ssh-within-a-docker-container-i5i
|
||||||
|
RUN apt-get install -y openssh-server openssh-client
|
||||||
|
# RUN service ssh enable
|
||||||
|
RUN service ssh start
|
||||||
|
# as sshd will be launchd as ${USER_UNAME}
|
||||||
|
RUN chown -R ${USER_UNAME} /etc/ssh
|
||||||
|
EXPOSE 22
|
||||||
|
|
||||||
|
|
||||||
|
# CMD ["/usr/sbin/sshd","-D"]
|
||||||
|
|
||||||
|
# https://stackoverflow.com/questions/36964652/ssh-in-docker-container-causes-http-404
|
||||||
|
# use \n to make the content into multiple lines
|
||||||
|
RUN printf "whoami\nphp-fpm -D\n/usr/sbin/sshd -D" >> /start.sh
|
||||||
|
RUN chmod +x /start.sh
|
||||||
|
CMD ["/start.sh"]
|
||||||
|
|
||||||
|
|
||||||
|
# USER ${USER_UNAME}
|
@@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
PS1='\e[36m\e[1mPHP-7.0\e[0m:\e[90m\w\e[0m\n$ '
|
PS1='\e[36m\e[1mPHP-7.4\e[0m:\e[90m\w\e[0m\n$ '
|
||||||
bind '"\e[A": history-search-backward'
|
bind '"\e[A": history-search-backward'
|
||||||
bind '"\e[B": history-search-forward'
|
bind '"\e[B": history-search-forward'
|
||||||
|
BIN
Docker/php/composer_update_autocomplete
Executable file
BIN
Docker/php/composer_update_autocomplete
Executable file
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
memory_limit = 2048M
|
memory_limit = 8192M
|
||||||
upload_max_filesize = 50M
|
upload_max_filesize = 50M
|
||||||
post_max_size = 50M
|
post_max_size = 50M
|
||||||
max_execution_time = 150
|
max_execution_time = 150
|
||||||
|
3
Docker/redis/Dockerfile
Normal file
3
Docker/redis/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM redis:4
|
||||||
|
COPY redis.conf /usr/local/etc/redis/redis.conf
|
||||||
|
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
|
2
Docker/redis/redis.conf
Normal file
2
Docker/redis/redis.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
maxmemory 1gb
|
||||||
|
maxmemory-policy allkeys-lru
|
@@ -1,3 +1,3 @@
|
|||||||
FROM solr:8
|
FROM solr:8.10
|
||||||
|
|
||||||
# COPY --chown=solr:solr ./server /opt/solr/server/solr/
|
# COPY --chown=solr:solr ./server /opt/solr/server/solr/
|
||||||
|
77
Makefile
77
Makefile
@@ -7,6 +7,8 @@ USER_UNAME := $(shell id -un)
|
|||||||
USER_GID := $(shell id -g)
|
USER_GID := $(shell id -g)
|
||||||
USER_GNAME := $(shell id -gn)
|
USER_GNAME := $(shell id -gn)
|
||||||
|
|
||||||
|
DATE_NOW := $(shell date '+%Y-%m-%d_%H%M%S')
|
||||||
|
|
||||||
export USER_UID
|
export USER_UID
|
||||||
export USER_UNAME
|
export USER_UNAME
|
||||||
export USER_GID
|
export USER_GID
|
||||||
@@ -18,6 +20,34 @@ build:
|
|||||||
buildnc:
|
buildnc:
|
||||||
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
|
||||||
|
|
||||||
|
buildsolrnc:
|
||||||
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) solr-new
|
||||||
|
|
||||||
|
buildphp:
|
||||||
|
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) php
|
||||||
|
|
||||||
|
buildphpnc:
|
||||||
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) php
|
||||||
|
|
||||||
|
buildnginx:
|
||||||
|
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) nginx
|
||||||
|
|
||||||
|
buildnginxnc:
|
||||||
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) nginx
|
||||||
|
|
||||||
|
buildnpm:
|
||||||
|
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) npm
|
||||||
|
|
||||||
|
buildnpmnc:
|
||||||
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) npm
|
||||||
|
|
||||||
|
buildmysql:
|
||||||
|
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) mysql
|
||||||
|
|
||||||
|
buildmysqlnc:
|
||||||
|
docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME) mysql
|
||||||
|
|
||||||
|
|
||||||
up:
|
up:
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
||||||
@@ -30,17 +60,56 @@ ps:
|
|||||||
logs:
|
logs:
|
||||||
docker-compose logs -f
|
docker-compose logs -f
|
||||||
|
|
||||||
|
logs_redis:
|
||||||
|
docker-compose logs -f redis
|
||||||
|
|
||||||
down:
|
down:
|
||||||
docker-compose down
|
docker-compose down
|
||||||
|
|
||||||
|
restart_solr:
|
||||||
|
docker-compose restart solr-new
|
||||||
|
|
||||||
|
restart_redis:
|
||||||
|
docker-compose restart redis
|
||||||
|
|
||||||
|
restart_php:
|
||||||
|
docker-compose restart php
|
||||||
|
|
||||||
|
restart_npm :
|
||||||
|
docker-compose restart npm
|
||||||
|
|
||||||
|
restart_mysql :
|
||||||
|
docker-compose restart mysql
|
||||||
|
|
||||||
exec_php:
|
exec_php:
|
||||||
docker exec -it materiod8_php_1 bash
|
docker exec -it materiod8-php-1 bash
|
||||||
|
|
||||||
|
exec_nginx:
|
||||||
|
docker exec -it materiod8-nginx-1 bash
|
||||||
|
|
||||||
|
exec_npm:
|
||||||
|
docker exec -it materiod8-npm-1 sh
|
||||||
|
|
||||||
exec_mysql:
|
exec_mysql:
|
||||||
docker exec -it materiod8_mysql_1 bash
|
docker exec -it materiod8-mysql-1 bash
|
||||||
|
|
||||||
exec_solr:
|
exec_solr:
|
||||||
docker exec -it materiod8_solr-new_1 bash
|
docker exec -it materiod8-solr-new-1 bash
|
||||||
|
|
||||||
|
exec_solrlegacy:
|
||||||
|
docker exec -it materiod8-solr-legacy-1 bash
|
||||||
|
|
||||||
phplegacy:
|
phplegacy:
|
||||||
docker exec -it materiod8_php-legacy_1 bash
|
docker exec -it materiod8-php-legacy-1 bash
|
||||||
|
|
||||||
|
redis:
|
||||||
|
docker exec -it materiod8-redis-1 bash
|
||||||
|
|
||||||
|
update_solr_conf:
|
||||||
|
bin/update_solr_config.sh
|
||||||
|
|
||||||
|
dump_d8_db:
|
||||||
|
docker exec materiod8-mysql-1 sh -c 'exec mysqldump -uroot -pmaterio materio_d8' > ./ressources/materio-d8-$(DATE_NOW)-local.sql
|
||||||
|
|
||||||
|
sish:
|
||||||
|
ssh -p 2222 -R materio:80:dev:8890 CT-sish.me
|
11
bin/update_solr_config.sh
Executable file
11
bin/update_solr_config.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
docker exec -i materiod8-php-1 drush cdel search_api_solr.solr_field_type.text_edgestring_ascii_und_6_0_0
|
||||||
|
docker exec -i materiod8-php-1 drush cdel search_api_solr.solr_field_type.text_string_ascii_und_6_0_0
|
||||||
|
docker exec -i materiod8-php-1 drush dre materio_sapi
|
||||||
|
docker exec -i materiod8-php-1 drush solr-gsc database_search_autocomplete config.zip
|
||||||
|
mkdir ressources/solr/
|
||||||
|
mv public_html/web/config.zip ressources/solr/
|
||||||
|
unzip -o ressources/solr/config.zip -d var_solr/data/materio/conf
|
||||||
|
unzip -o ressources/solr/config.zip -d var_solr/data/materio_autocomplete/conf
|
||||||
|
docker-compose restart solr-new
|
@@ -17,104 +17,120 @@ services:
|
|||||||
MYSQL_USER: "${DB_USERNAME}"
|
MYSQL_USER: "${DB_USERNAME}"
|
||||||
MYSQL_PASSWORD: "${DB_PASSWORD}"
|
MYSQL_PASSWORD: "${DB_PASSWORD}"
|
||||||
|
|
||||||
mysql-legacy:
|
# mysql-legacy:
|
||||||
image: mariadb:latest
|
# image: mariadb:latest
|
||||||
volumes:
|
# volumes:
|
||||||
- db-data-legacy:/var/lib/mysql
|
# - db-data-legacy:/var/lib/mysql
|
||||||
- ./Docker/mysql/mysql.cnf:/etc/mysql/conf.d/custom.cnf:ro
|
# - ./Docker/mysql/mysql.cnf:/etc/mysql/conf.d/custom.cnf:ro
|
||||||
- ./Docker/mysql/bashrc:/root/.bashrc:ro
|
# - ./Docker/mysql/bashrc:/root/.bashrc:ro
|
||||||
- "${DB_IMPORTE_FILE_D7}:/docker-entrypoint-initdb.d/materio_d7.sql"
|
# - "${DB_IMPORTE_FILE_D7}:/docker-entrypoint-initdb.d/materio_d7.sql"
|
||||||
networks:
|
# networks:
|
||||||
- database
|
# - database
|
||||||
hostname: mysql-legacy
|
# hostname: mysql-legacy
|
||||||
environment:
|
# environment:
|
||||||
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
|
# MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
|
||||||
MYSQL_DATABASE: "${DB_LEGACY_NAME}"
|
# MYSQL_DATABASE: "${DB_LEGACY_NAME}"
|
||||||
MYSQL_USER: "${DB_USERNAME}"
|
# MYSQL_USER: "${DB_USERNAME}"
|
||||||
MYSQL_PASSWORD: "${DB_PASSWORD}"
|
# MYSQL_PASSWORD: "${DB_PASSWORD}"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:4
|
image: redis:4
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: redis-server /usr/local/etc/redis.conf
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-data:/data
|
||||||
|
- ./Docker/redis/redis.conf:/usr/local/etc/redis.conf
|
||||||
networks:
|
networks:
|
||||||
- redis
|
- redis
|
||||||
ports:
|
ports:
|
||||||
- "6389"
|
- "6389"
|
||||||
|
|
||||||
redis-legacy:
|
# redis-legacy:
|
||||||
image: redis:3
|
# image: redis:3
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
# command: redis-server /usr/local/etc/redis.conf
|
||||||
volumes:
|
# volumes:
|
||||||
- redis-legacy-data:/data
|
# - redis-legacy-data:/data
|
||||||
networks:
|
# - ./Docker/redis/redis.conf:/usr/local/etc/redis.conf
|
||||||
- redis
|
# networks:
|
||||||
ports:
|
# - redis
|
||||||
- "6388"
|
# ports:
|
||||||
|
# - "6388"
|
||||||
|
|
||||||
solr-new:
|
solr-new:
|
||||||
build: ./Docker/solr/
|
build: ./Docker/solr/
|
||||||
|
# user: ${USER_UID}:${USER_GID}
|
||||||
environment:
|
environment:
|
||||||
- SOLR_HOME=/opt/solr/server/solr
|
- SOLR_HOME=/var/solr
|
||||||
volumes:
|
volumes:
|
||||||
- "${SOLR_CORES}:/opt/solr/server/solr"
|
- ./var_solr:/var/solr
|
||||||
# - solr-cores:/opt/solr/server/solr
|
# - solr-data: /var/solr
|
||||||
|
# - "${SOLR_CORES}:/var/solr/data"
|
||||||
|
# - "${SOLR_DATA}:/var/solr"
|
||||||
|
# - "${SOLR_CORES}:/opt/solr/server/solr"
|
||||||
|
command:
|
||||||
|
- solr-precreate
|
||||||
networks:
|
networks:
|
||||||
- solr
|
- solr
|
||||||
ports:
|
ports:
|
||||||
- 8985:8983
|
- 8985:8983
|
||||||
|
|
||||||
solr-legacy:
|
# solr-legacy:
|
||||||
build: ./Docker/solr-legacy/
|
# build: ./Docker/solr-legacy/
|
||||||
volumes:
|
# volumes:
|
||||||
- solr-cores-legacy:/opt/solr/server/solr
|
# - solr-cores-legacy:/opt/solr/server/solr
|
||||||
networks:
|
# networks:
|
||||||
- solr
|
# - solr
|
||||||
ports:
|
# ports:
|
||||||
- 8983:8983
|
# - 8983:8983
|
||||||
|
|
||||||
|
|
||||||
php:
|
php:
|
||||||
build: ./Docker/php/
|
build: ./Docker/php/
|
||||||
expose:
|
expose:
|
||||||
- 9000
|
- 9000
|
||||||
|
- 9001
|
||||||
|
- 22
|
||||||
user: ${USER_UID}:${USER_GID}
|
user: ${USER_UID}:${USER_GID}
|
||||||
volumes:
|
volumes:
|
||||||
- php-user-data:/home/${USER_UNAME}
|
- php-user-data:/home/${USER_UNAME}
|
||||||
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
||||||
- "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
- "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
||||||
- "${LOG_ROOT}/php:/var/log:rw"
|
- "${LOG_ROOT}/php:/var/log:rw"
|
||||||
|
- "${XDEBUG_INI}:/usr/local/etc/php/conf.d/xdebug.ini"
|
||||||
working_dir: "/var/www/html/d8.materio.com/public_html"
|
working_dir: "/var/www/html/d8.materio.com/public_html"
|
||||||
networks:
|
networks:
|
||||||
- database
|
- database
|
||||||
- redis
|
- redis
|
||||||
- server
|
- server
|
||||||
- solr
|
- solr
|
||||||
|
# for xdebug
|
||||||
|
# https://github.com/docker/for-linux/issues/264#issuecomment-965465879
|
||||||
|
extra_hosts:
|
||||||
|
- host.docker.internal:host-gateway
|
||||||
|
# mem_limit: 512m
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- mysql-legacy
|
# - mysql-legacy
|
||||||
- redis
|
- redis
|
||||||
- solr-new
|
- solr-new
|
||||||
|
|
||||||
php-legacy:
|
# php-legacy:
|
||||||
build: ./Docker/php-legacy/
|
# build: ./Docker/php-legacy/
|
||||||
expose:
|
# expose:
|
||||||
- 9000
|
# - 9000
|
||||||
volumes:
|
# volumes:
|
||||||
- php-legacy-root-data:/root
|
# - php-legacy-root-data:/root
|
||||||
- "${LEGACY_ROOT}:/var/www/html"
|
# - "${LEGACY_ROOT}:/var/www/html"
|
||||||
- "${LOG_ROOT}/php-legacy:/var/log:rw"
|
# - "${LOG_ROOT}/php-legacy:/var/log:rw"
|
||||||
working_dir: "/var/www/html"
|
# working_dir: "/var/www/html"
|
||||||
networks:
|
# networks:
|
||||||
- database
|
# - database
|
||||||
- redis
|
# - redis
|
||||||
- server
|
# - server
|
||||||
- solr
|
# - solr
|
||||||
depends_on:
|
# depends_on:
|
||||||
- mysql-legacy
|
# - mysql-legacy
|
||||||
- redis-legacy
|
# - redis-legacy
|
||||||
- solr-legacy
|
# - solr-legacy
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin/phpmyadmin
|
image: phpmyadmin/phpmyadmin
|
||||||
@@ -124,9 +140,9 @@ services:
|
|||||||
- database
|
- database
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- mysql-legacy
|
# - mysql-legacy
|
||||||
environment:
|
environment:
|
||||||
PMA_HOSTS: mysql,mysql-legacy
|
PMA_HOSTS: mysql #,mysql-legacy
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
build: ./Docker/nginx/
|
build: ./Docker/nginx/
|
||||||
@@ -134,7 +150,7 @@ services:
|
|||||||
- 8890:80
|
- 8890:80
|
||||||
volumes:
|
volumes:
|
||||||
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
||||||
- "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
# - "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
||||||
- "${LOG_ROOT}:/var/log:rw"
|
- "${LOG_ROOT}:/var/log:rw"
|
||||||
working_dir: "/var/www/html/d8.materio.com/public_html"
|
working_dir: "/var/www/html/d8.materio.com/public_html"
|
||||||
networks:
|
networks:
|
||||||
@@ -143,29 +159,44 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- php
|
- php
|
||||||
|
|
||||||
nginx-legacy:
|
# nginx-legacy:
|
||||||
build: ./Docker/nginx-legacy/
|
# build: ./Docker/nginx-legacy/
|
||||||
ports:
|
# ports:
|
||||||
- 8880:80
|
# - 8880:80
|
||||||
|
# volumes:
|
||||||
|
# - "${LEGACY_ROOT}:/var/www/html"
|
||||||
|
# - "${LOG_ROOT}:/var/log:rw"
|
||||||
|
# networks:
|
||||||
|
# - server
|
||||||
|
# - solr
|
||||||
|
# depends_on:
|
||||||
|
# - php-legacy
|
||||||
|
|
||||||
|
npm:
|
||||||
|
build: ./Docker/npm
|
||||||
|
user: ${USER_UID}:${USER_GID}
|
||||||
volumes:
|
volumes:
|
||||||
- "${LEGACY_ROOT}:/var/www/html"
|
- "${PROJECT_ROOT}:/app"
|
||||||
- "${LOG_ROOT}:/var/log:rw"
|
- npm-user-data:/home/${USER_UNAME}
|
||||||
|
# ports:
|
||||||
|
# - 8788:8788
|
||||||
|
working_dir: "/app"
|
||||||
networks:
|
networks:
|
||||||
- server
|
- server
|
||||||
- solr
|
environment:
|
||||||
depends_on:
|
- DRUPAL_ROOT=/var/www/html/d8.materio.com/public_html
|
||||||
- php-legacy
|
- USER_UNAME=${USER_UNAME}
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
php-user-data:
|
php-user-data:
|
||||||
php-legacy-root-data:
|
# php-legacy-root-data:
|
||||||
db-data:
|
db-data:
|
||||||
db-data-legacy:
|
# db-data-legacy:
|
||||||
redis-data:
|
redis-data:
|
||||||
redis-legacy-data:
|
# redis-legacy-data:
|
||||||
solr-cores-legacy:
|
# solr-cores-legacy:
|
||||||
solr-cores:
|
# solr-cores:
|
||||||
|
npm-user-data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
database:
|
database:
|
||||||
|
Submodule public_html updated: a95d44c92b...e8a7c0d190
Submodule public_html_legacy updated: 094d6ec86f...49a0944412
50
ressources/xdebug.ini.example
Normal file
50
ressources/xdebug.ini.example
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
[xdebug]
|
||||||
|
; xdebug.remote_enable=1
|
||||||
|
xdebug.mode=debug
|
||||||
|
;Should use host.docker.internal but not working on linux
|
||||||
|
|
||||||
|
; xdebug.remote_host=172.20.0.1
|
||||||
|
; Replaced by xdebug.client_host.
|
||||||
|
xdebug.client_host=172.20.0.1
|
||||||
|
|
||||||
|
|
||||||
|
;Not working on docker context
|
||||||
|
; xdebug.remote_connect_back=0
|
||||||
|
; Replaced by xdebug.discover_client_host.
|
||||||
|
xdebug.discover_client_host=0
|
||||||
|
|
||||||
|
|
||||||
|
;9000 is already bound by php-fpm
|
||||||
|
; xdebug.remote_port=9001
|
||||||
|
; xdebug.remote_port #
|
||||||
|
; Replaced by xdebug.client_port.
|
||||||
|
; The default value has also changed from 9000 to 9003.
|
||||||
|
xdebug.client_port=9001
|
||||||
|
|
||||||
|
xdebug.remote_handler=dbgp
|
||||||
|
|
||||||
|
; xdebug.remote_mode=req
|
||||||
|
; xdebug.remote_mode #
|
||||||
|
; For the req value (the original default), use xdebug.mode=debug with xdebug.start_with_request=trigger. If the original xdebug.remote_autostart behaviour is necessary, use xdebug.start_with_request=yes instead of trigger.
|
||||||
|
|
||||||
|
; For the jit value, use xdebug.mode=debug and xdebug.start_upon_error=yes.
|
||||||
|
|
||||||
|
|
||||||
|
; xdebug.remote_autostart=true
|
||||||
|
; Use xdebug.mode=debug with xdebug.start_with_request=yes
|
||||||
|
xdebug.start_with_request=yes
|
||||||
|
|
||||||
|
; ?=XDEBUG_SESSION_START=1
|
||||||
|
;Log file is mounted on volume so you can follow it
|
||||||
|
; xdebug.remote_log=/var/log/xdebug-error.log
|
||||||
|
; Replaced by xdebug.log, which also includes log messages beyond Step Debugging.
|
||||||
|
xdebug.log=/var/log/xdebug-error.log
|
||||||
|
|
||||||
|
; xdebug.profiler_enable=0
|
||||||
|
; xdebug.profiler_enable_trigger=1
|
||||||
|
; Use xdebug.mode=profile with xdebug.start_with_request=trigger.
|
||||||
|
|
||||||
|
; xdebug.profiler_output_dir=/var/log/
|
||||||
|
; Use the generic xdebug.output_dir setting.
|
||||||
|
|
||||||
|
; Example: http://localhost:8080/test?XDEBUG_PROFILE=1
|
Submodule solr_cores updated: a84090562c...3665537182
0
solr_data/.gitkeep
Normal file
0
solr_data/.gitkeep
Normal file
0
var_solr/.gitkeep
Normal file
0
var_solr/.gitkeep
Normal file
Reference in New Issue
Block a user