We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e62444 commit c7e167dCopy full SHA for c7e167d
WS/entrypoint.sh
@@ -3,11 +3,12 @@
3
echo "ENV = $ENV"
4
5
# Check if cert is mounted and update it
6
-if [ -f /usr/local/share/ca-certificates/brevo.crt ]; then
7
- echo "Certificat brevo.pem détecté — update-ca-certificates"
8
- update-ca-certificates
+if [ -n "$BREVO_PEM" ]; then
+ echo "$BREVO_PEM" > /usr/local/share/ca-certificates/brevo.crt
+ echo "Brevo certificate was detected — update-ca-certificates"
9
+ update-ca-certificates
10
else
- echo "Aucun certificat Brevo détecté, skip"
11
+ echo "No Brevo certificate detected."
12
fi
13
14
./wait.sh "$DATABASE_HOST:$DATABASE_PORT"
0 commit comments