Skip to content

Commit

Permalink
add WEBUI_PORTS var
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Feb 15, 2024
1 parent b9cb9ef commit 355d1ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_AMD64}
EXPOSE 3875
VOLUME ["/cache","/logs"]
ARG IMAGE_STATS
ENV IMAGE_STATS=${IMAGE_STATS}
ENV IMAGE_STATS=${IMAGE_STATS} WEBUI_PORTS="3875/tcp,3875/udp"

RUN mkdir "/var/lib/dbus" && ln -s "${CONFIG_DIR}/machine-id" "/var/lib/dbus/machine-id" && \
ln -s "${CONFIG_DIR}/" "${APP_DIR}/.duplicacy-web"
Expand Down
2 changes: 1 addition & 1 deletion linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_ARM64}
EXPOSE 3875
VOLUME ["/cache","/logs"]
ARG IMAGE_STATS
ENV IMAGE_STATS=${IMAGE_STATS}
ENV IMAGE_STATS=${IMAGE_STATS} WEBUI_PORTS="3875/tcp,3875/udp"

RUN mkdir "/var/lib/dbus" && ln -s "${CONFIG_DIR}/machine-id" "/var/lib/dbus/machine-id" && \
ln -s "${CONFIG_DIR}/" "${APP_DIR}/.duplicacy-web"
Expand Down
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/init-setup-app/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "
----------------------------------------------------------------------
ENVIRONMENT APP
----------------------------------------------------------------------

WEBUI_PORTS=${WEBUI_PORTS}
----------------------------------------------------------------------
"

Expand Down

0 comments on commit 355d1ff

Please sign in to comment.