mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
...
This commit is contained in:
1 parent
7c5f783855
commit
4dd9f2ade6
4 files changed
+22
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user