mirror of
https://github.com/bitwarden/server
synced 2025-12-23 03:33:35 +00:00
Increased usable port range for ephemeral ports from 26,669 to 59,976 (#6394)
This commit is contained in:
@@ -57,6 +57,8 @@ RUN apk add --no-cache curl \
|
||||
WORKDIR /app
|
||||
COPY --from=build /source/src/Notifications/out /app
|
||||
COPY ./src/Notifications/entrypoint.sh /entrypoint.sh
|
||||
RUN echo "net.ipv4.ip_local_port_range = 5024 65000" >> /etc/sysctl.d/99-sysctl.conf
|
||||
RUN echo "net.ipv4.tcp_fin_timeout = 30" >> /etc/sysctl.d/99-sysctl.conf
|
||||
RUN chmod +x /entrypoint.sh
|
||||
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user