mirror of
https://github.com/bitwarden/server.git
synced 2025-12-10 00:42:07 -06:00
Increased usable port range for ephemeral ports from 26,669 to 59,976 (#6394)
This commit is contained in:
parent
8784907736
commit
718d96cc58
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user