GITBOOK-23: Encrypt the database fix

This commit is contained in:
Hannah Cooper
2026-03-04 21:55:18 +00:00
committed by gitbook-bot
parent dffa4c7046
commit 0c2fab7043

View File

@@ -180,6 +180,23 @@ containers:
In the `volumeMounts` section, add a definition for the secret created earlier:
{% hint style="info" %}
Note this step differs between Business Edition and Community Edition versions of Portainer.
{% endhint %}
{% tabs %}
{% tab title="Business Edition" %}
```
volumeMounts:
- name: data
mountPath: /data
- name: portainer-key
mountPath: /run/portainer/portainer
subPath: portainer
```
{% endtab %}
{% tab title="Community Edition" %}
```
volumeMounts:
- name: data
@@ -188,6 +205,8 @@ volumeMounts:
mountPath: /run/secrets/portainer
subPath: portainer
```
{% endtab %}
{% endtabs %}
We also need to add a definition to the `volumes` definition for the `spec`: