Public | Automated Build

Last pushed: 8 months ago
Dockerfile
FROM rdissertori/docker-syncthing-relay-discovery:latest # 1000 mbps ENV RATE_GLOBAL 1000000000 # 50 mbps ENV RATE_SESSION 50000000 # Allowed average package rate, per 10 s ENV LIMIT_AVG 100 # Allowed burst size, packets ENV LIMIT_BURST 200 # Limiter cache entries ENV LIMIT_CACHE 250000 USER root # security: Set password length and expiry for compliance with vulnerability advisor RUN sed -i 's/ˆPASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs RUN sed -i 's/ˆPASS_MIN_DAYS.*/PASS_MIN_DAYS 1/' /etc/login.defs RUN sed -i 's/sha512/sha512 minlen=8/' /etc/pam.d/common-password