disable access_logs
This commit is contained in:
parent
bb0554c727
commit
6e3cc9d1f9
@ -3,6 +3,8 @@ ARG POSTGRES_VERSION=15
|
|||||||
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-client
|
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-client
|
||||||
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||||
|
|
||||||
|
COPY docker/dev-ssu/nginx.conf /etc/nginx/conf.d/custom.conf
|
||||||
|
|
||||||
RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc
|
RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc
|
||||||
RUN echo "alias a='php artisan'" >>/etc/bash.bashrc
|
RUN echo "alias a='php artisan'" >>/etc/bash.bashrc
|
||||||
RUN echo "alias mfs='php artisan migrate:fresh --seed'" >>/etc/bash.bashrc
|
RUN echo "alias mfs='php artisan migrate:fresh --seed'" >>/etc/bash.bashrc
|
||||||
|
4
docker/dev-ssu/nginx.conf
Normal file
4
docker/dev-ssu/nginx.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Custom nginx configuration
|
||||||
|
|
||||||
|
# Disable access logs
|
||||||
|
access_log off;
|
@ -10,6 +10,8 @@ ARG POSTGRES_VERSION=15
|
|||||||
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs jq
|
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs jq
|
||||||
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||||
|
|
||||||
|
COPY docker/prod-ssu/nginx.conf /etc/nginx/conf.d/custom.conf
|
||||||
|
|
||||||
COPY composer.json composer.lock ./
|
COPY composer.json composer.lock ./
|
||||||
RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-dist
|
RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-dist
|
||||||
|
|
||||||
|
4
docker/prod-ssu/nginx.conf
Normal file
4
docker/prod-ssu/nginx.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Custom nginx configuration
|
||||||
|
|
||||||
|
# Disable access logs
|
||||||
|
access_log off;
|
Loading…
Reference in New Issue
Block a user