Document the user and group id to use for persistent storage permissions

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2016-07-17 18:16:09 -04:00
parent 714da78df6
commit 5337a3a479

View File

@@ -31,9 +31,12 @@ A more complete workflow may require making a custom directory for your applicat
# creating storage for the app 'ruby-rails-sample'
mkdir -p /var/lib/dokku/data/storage/ruby-rails-sample
# ensure the dokku user has access to this directory
# ensure the proper user has access to this directory
chown -R dokku:dokku /var/lib/dokku/data/storage/ruby-rails-sample
# as of 0.7.x, you should chown using the `32767` user and group id
chown -R 32767:32767 /var/lib/dokku/data/storage/ruby-rails-sample
# mount the directory into your container's /app/storage directory, relative to root
dokku storage:mount app-name /var/lib/dokku/data/storage/app-name:/app/storage
```