File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ These files are thoroughly prepared and ready to use.
56
56
It is only necessary to symlink them:
57
57
58
58
``` sh
59
- ln -s .env.local .env
59
+ ln -s .env.local .env
60
60
ln -s core/docker-compose.yml.local docker-compose.yml
61
61
```
62
62
@@ -68,10 +68,11 @@ Find docker volume mountpoint with `inspect` command and then chmod it with `a+w
68
68
Also chmod +x all path. Like this:
69
69
70
70
``` sh
71
- docker volume inspect var-hiapi-demo.hipanel.com
72
- sudo chmod a+w /var/lib/docker/volumes/var-hiapi-demo.hipanel.com/_data
73
- sudo chmod a+x /var/lib/docker/volumes/var-hiapi-demo.hipanel.com
74
- sudo chmod a+x /var/lib/docker/volumes
71
+ API_VAR_DIR=$( docker volume inspect var-hiapi-demo.hipanel.com -f ' {{json .Mountpoint}}' )
72
+ sudo chmod a+w $API_VAR_DIR
73
+ sudo chmod a+x $( dirname $API_VAR_DIR )
74
+ sudo chmod a+x $( dirname $( dirname $API_VAR_DIR ) )
75
+ unset API_VAR_DIR
75
76
```
76
77
77
78
## Setup/Reset database
You can’t perform that action at this time.
0 commit comments