invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
399 stars 263 forks source link

appKey in Kubernetes/Helm #465

Closed xeruf closed 1 year ago

xeruf commented 1 year ago

Do I have to pass an appkey? I generated a b64encoded key with 64 bytes and now get:

Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm.

Will it generate one itself if I don't pass it?

xeruf commented 1 year ago

yep, seems to auto-generate. maybe note that in the values.yaml (https://github.com/invoiceninja/dockerfiles/blob/master/charts/invoiceninja/values.yaml) like:

A 32 character long Application Key - only needed when migrating. Leave blank to auto-generate.

lwj5 commented 1 year ago

Please see the readme, it's clearly stated here https://github.com/invoiceninja/dockerfiles/tree/master/charts/invoiceninja#invoice-ninja-container-parameters

Nonetheless, you should provide a value, https://github.com/invoiceninja/dockerfiles/tree/master/charts/invoiceninja#installing-the-chart.