DokployD
Dokploy2y ago
6 replies
Bunny

Multiline variables

I need to provide RSA key for one of my services(https://docs.saleor.io/setup/configuration#rsa_private_key)
I generated key via openssl genrsa -out private-key.pem 3072
Converted to one liner via awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' private-key.pem

But on deploy getting an error
failed to read /etc/dokploy/compose/replaced/code/.env: line 28: unexpected character "/" in variable name "MIIG/gIBADANBgkqhkiG9w0BAQEFAASCBugwggbkAgEAAoIBgQC1e4KKUt+roWLY"
Error ❌


How I can add variables like this?
Saleor follows the 12-factor approach, so you can configure Saleor using environment variables.
Was this page helpful?