An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
disable access_logs
Andras Bacsai6e3cc9d1f913
diff --git a/docker/dev-ssu/Dockerfile b/docker/dev-ssu/Dockerfileindex d283f6a565..4236dd9938 100644--- a/docker/dev-ssu/Dockerfile+++ b/docker/dev-ssu/Dockerfile@@ -3,6 +3,8 @@ ARG POSTGRES_VERSION=15RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-clientRUN 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.bashrcRUN echo "alias a='php artisan'" >>/etc/bash.bashrcRUN echo "alias mfs='php artisan migrate:fresh --seed'" >>/etc/bash.bashrcdiff --git a/docker/dev-ssu/nginx.conf b/docker/dev-ssu/nginx.confnew file mode 100644index 0000000000..60e1f966d4--- /dev/null+++ b/docker/dev-ssu/nginx.conf@@ -0,0 +1,4 @@+# Custom nginx configuration++# Disable access logs+access_log off;\ No newline at end of filediff --git a/docker/prod-ssu/Dockerfile b/docker/prod-ssu/Dockerfileindex 8f3e0927c2..0ed33a0d9b 100644--- a/docker/prod-ssu/Dockerfile+++ b/docker/prod-ssu/Dockerfile@@ -10,6 +10,8 @@ ARG POSTGRES_VERSION=15RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs jqRUN 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 ./RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-distdiff --git a/docker/prod-ssu/nginx.conf b/docker/prod-ssu/nginx.confnew file mode 100644index 0000000000..60e1f966d4--- /dev/null+++ b/docker/prod-ssu/nginx.conf@@ -0,0 +1,4 @@+# Custom nginx configuration++# Disable access logs+access_log off;\ No newline at end of file