mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Update persistent-storage.md
This commit is contained in:
@@ -25,10 +25,10 @@ dokku storage:mount app-name /var/lib/dokku/data/storage:/storage
|
||||
|
||||
Dokku will then mount the shared contents of `/var/lib/dokku/data/storage` to `/storage` inside the container.
|
||||
|
||||
You will also need to restart the deployment, to activate storage:
|
||||
You will also need to restart the deployment, to activate storage (see [ps](http://dokku.viewdocs.io/dokku/deployment/process-management/)):
|
||||
|
||||
```shell
|
||||
dokku deploy app-name
|
||||
dokku ps:rebuild app-name
|
||||
```
|
||||
|
||||
A more complete workflow may require making a custom directory for your application and mounting it within your `/app/storage` directory instead. The mount point is *not* relative to your application's working directory, and is instead relative to the root of the container.
|
||||
|
||||
Reference in New Issue
Block a user