feat: use env to override settings

This commit is contained in:
Jacky 2024-05-06 21:24:53 +08:00
parent a82ad2aea4
commit cb0fb47e1c
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
6 changed files with 159 additions and 28 deletions

View file

@ -4,6 +4,8 @@ ARG TARGETARCH
ARG TARGETVARIANT
EXPOSE 80 443
ENV NGINX_UI_OFFICIAL_DOCKER=true
# register nginx-ui service
COPY resources/docker/nginx-ui.run /etc/s6-overlay/s6-rc.d/nginx-ui/run
RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \