This commit is contained in:
NoLogicAlan committed 2026-10-21 01:35:39 +03:00
1 parent 7c5f783855
commit 4dd9f2ade6
4 files changed
+22 -2

No files matched your search

+6
View File
@@ -20,6 +20,7 @@ RUN apt-get update && \
tini \
curl \
ca-certificates \
git \
&& \
rm -rf /var/lib/apt/lists/*
@@ -29,6 +30,11 @@ WORKDIR /app
COPY --from=builder --chown=10001:10001 /app ./
RUN cp /app/docker/openssl.cnf /etc/ssl/openssl.cnf
ENV OPENSSL_CONF=/etc/ssl/openssl.cnf
ENV NODE_OPTIONS="--openssl-shared-config"
RUN chmod +x docker/docker-entrypoint.sh && \
mkdir -p /app/storage && chown -R 10001:10001 /app
+2
View File
@@ -18,6 +18,8 @@ services:
- ../storage:/app/storage
environment:
- TZ=${TZ:-UTC}
- OPENSSL_CONF=/etc/ssl/openssl.cnf
- NODE_OPTIONS=--openssl-shared-config
ports:
- "${WEB_PORT:-8080}:80"
networks:
+12
View File
@@ -0,0 +1,12 @@
nodejs_conf = openssl_init
openssl_conf = openssl_init
[openssl_init]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
Options = UnsafeLegacyRenegotiation, UnsafeLegacyServerConnect
CipherString = DEFAULT:@SECLEVEL=1