mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(core): Allow using a custom certificates in docker containers (#8705)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
committed by
GitHub
parent
52936633af
commit
6059722fbf
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
if [ -d /opt/custom-certificates ]; then
|
||||||
|
echo "Trusting custom certificates from /opt/custom-certificates."
|
||||||
|
export NODE_OPTIONS=--use-openssl-ca $NODE_OPTIONS
|
||||||
|
export SSL_CERT_DIR=/opt/custom-certificates
|
||||||
|
c_rehash /opt/custom-certificates
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$#" -gt 0 ]; then
|
if [ "$#" -gt 0 ]; then
|
||||||
# Got started with arguments
|
# Got started with arguments
|
||||||
exec n8n "$@"
|
exec n8n "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user