mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 04:48:31 +07:00
GITBOOK-23: Encrypt the database fix
This commit is contained in:
committed by
gitbook-bot
parent
dffa4c7046
commit
0c2fab7043
@@ -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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user