mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +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:
|
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:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
@@ -188,6 +205,8 @@ volumeMounts:
|
|||||||
mountPath: /run/secrets/portainer
|
mountPath: /run/secrets/portainer
|
||||||
subPath: portainer
|
subPath: portainer
|
||||||
```
|
```
|
||||||
|
{% endtab %}
|
||||||
|
{% endtabs %}
|
||||||
|
|
||||||
We also need to add a definition to the `volumes` definition for the `spec`:
|
We also need to add a definition to the `volumes` definition for the `spec`:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user