mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
feat(backend): bind uploads folder to local harddrive (#312)
* bind uploads folder to local harddrive * updated backend README.md regarding permissions
This commit is contained in:
parent
9b2ac9f74f
commit
cf80f35b5c
@ -116,3 +116,5 @@ sudo chmod 777 -R ./data/
|
|||||||
```
|
```
|
||||||
|
|
||||||
This process is to be repeated whenever you restart the database docker container
|
This process is to be repeated whenever you restart the database docker container
|
||||||
|
|
||||||
|
The same applies for the uploads and extension folder - ensure that the folder is writeable or file uploads will fail.
|
||||||
|
|||||||
@ -44,6 +44,11 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- 8055:8055
|
- 8055:8055
|
||||||
|
volumes:
|
||||||
|
- ./data/uploads:/directus/uploads
|
||||||
|
# This is not compatible with the current setup with directus-sync as this
|
||||||
|
# extension is installed before the volume bind onto the docker container
|
||||||
|
# - ./data/extensions:/directus/extensions
|
||||||
environment:
|
environment:
|
||||||
PUBLIC_URL: 'http://localhost'
|
PUBLIC_URL: 'http://localhost'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user