Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix: add NODE_EXTRA_CA_CERTS to resolve UNABLE_TO_GET_ISSUER_CERT_LOCALLY in Docker (#258)

Copilota376d05890a9
diff --git a/Dockerfile b/Dockerfile
index bd2ad4d0..fe628e96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,5 +41,6 @@ ENV NITRO_PORT=3000
ENV NITRO_HOST=0.0.0.0
ENV DATABASE_URL=./data/app.sqlite3
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
+ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
CMD ["/usr/bin/node", ".output/server/index.mjs"]