summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-04 05:05:04 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-04 18:25:17 +0200
commit2e9c9f5b9d1bff165a55dd7dbe54d81b2adbfde1 (patch)
treec76c12b9daf7b32be1554ab9a5f4b8a72e16a523 /Dockerfile
parent7f09ef208e09c85ed7087ab32e89da29bde837db (diff)
downloadbugzilla-2e9c9f5b9d1bff165a55dd7dbe54d81b2adbfde1.tar.gz
bugzilla-2e9c9f5b9d1bff165a55dd7dbe54d81b2adbfde1.tar.xz
Bug 1455495 - Replace apache with Mojolicious
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 6426f1ad8..0ac04acc6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,12 +9,6 @@ ENV CIRCLE_BUILD_URL=${CIRCLE_BUILD_URL}
ENV CIRCLE_SHA1=${CIRCLE_SHA1}
ENV LOG4PERL_CONFIG_FILE=log4perl-json.conf
-ENV HTTPD_StartServers=8
-ENV HTTPD_MinSpareServers=5
-ENV HTTPD_MaxSpareServers=20
-ENV HTTPD_ServerLimit=256
-ENV HTTPD_MaxClients=256
-ENV HTTPD_MaxRequestsPerChild=4000
ENV PORT=8000
@@ -28,7 +22,8 @@ RUN mv /opt/bmo/local /app && \
chown -R app:app /app && \
perl -I/app -I/app/local/lib/perl5 -c -E 'use Bugzilla; BEGIN { Bugzilla->extensions }' && \
perl -c /app/scripts/entrypoint.pl && \
- setcap 'cap_net_bind_service=+ep' /usr/sbin/httpd
+ setcap 'cap_net_bind_service=+ep' /usr/sbin/httpd && \
+ setcap 'cap_net_bind_service=+ep' /usr/bin/perl
USER app