This commit is contained in:
João
2021-04-20 11:42:16 -03:00
committed by GitHub
parent 73c14492b3
commit 6763908070

View File

@@ -33,9 +33,9 @@ ADMIN_PASSWORD="d1r3ctu5"
## Persistence
Containers are ephemeral, and this means that whenever you stop a container, all the data associated with it is going to be removed [unless you persist them] when creating your container (https://docs.docker.com/storage/).
Containers are ephemeral, and this means that whenever you stop a container, all the data associated with it is going to be removed [unless you persist them](https://docs.docker.com/storage/) when creating your container.
Directus image by default [will use the following locations](https://github.com/directus/directus/blob/main/.github/actions/build-images/rootfs/directus/images/main/Dockerfile#L93-L96) for data persistence (unless changed through environment variables)
Directus image by default [will use the following locations](https://github.com/directus/directus/blob/main/.github/actions/build-images/rootfs/directus/images/main/Dockerfile#L93-L96) for data persistence (note that these can be changed through environment variables)
- `/directus/uploads` for uploads
- `/directus/database` (only when using SQLite and not configured to a different folder)