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 \ tini \
curl \ curl \
ca-certificates \ ca-certificates \
git \
&& \ && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@@ -29,6 +30,11 @@ WORKDIR /app
COPY --from=builder --chown=10001:10001 /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 && \ RUN chmod +x docker/docker-entrypoint.sh && \
mkdir -p /app/storage && chown -R 10001:10001 /app mkdir -p /app/storage && chown -R 10001:10001 /app
+2
View File
@@ -18,6 +18,8 @@ services:
- ../storage:/app/storage - ../storage:/app/storage
environment: environment:
- TZ=${TZ:-UTC} - TZ=${TZ:-UTC}
- OPENSSL_CONF=/etc/ssl/openssl.cnf
- NODE_OPTIONS=--openssl-shared-config
ports: ports:
- "${WEB_PORT:-8080}:80" - "${WEB_PORT:-8080}:80"
networks: 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
+2 -2
View File
@@ -330,8 +330,8 @@ class Remix {
const __dirname = import.meta.dirname; const __dirname = import.meta.dirname;
try { try {
this.comHash = childProcess.execSync("git rev-parse --short HEAD", { cwd: __dirname, timeout: 3000 }).toString().trim(); this.comHash = childProcess.execSync("git rev-parse --short HEAD", { cwd: __dirname, timeout: 3000, stdio: ["ignore", "pipe", "ignore"] }).toString().trim();
this.comHashLong = childProcess.execSync("git rev-parse HEAD", { cwd: __dirname, timeout: 3000 }).toString().trim(); this.comHashLong = childProcess.execSync("git rev-parse HEAD", { cwd: __dirname, timeout: 3000, stdio: ["ignore", "pipe", "ignore"] }).toString().trim();
} catch (e) { } catch (e) {
logger.warn("[Git] comhash error:", e?.message); logger.warn("[Git] comhash error:", e?.message);
this.comHash = "Newest"; this.comHash = "Newest";