Skip to content

Commit

Permalink
feat(nginx): Default environment for nginx template
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Jan 13, 2024
1 parent 4849f75 commit 6834d67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ WORKDIR /data
ENTRYPOINT ["/etc/nginx/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]

# Default environment for nginx template
ENV NGINX_WORKER_CONNECTIONS=2048 \
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=1 \
NGINX_ENTRYPOINT_QUIET_LOGS=""

ARG BUILD_REV
ARG BUILD_DATE
LABEL org.opencontainers.image.title="alwatr/nginx" \
Expand Down

0 comments on commit 6834d67

Please sign in to comment.