From a64ed1b2bfc4738d574424c24c43b383a7650428 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 12 Aug 2025 14:06:56 +0200 Subject: [PATCH] bind uploads folder to local harddrive --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 0caabd00..c207e9a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,6 +44,11 @@ services: condition: service_healthy ports: - 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: PUBLIC_URL: 'http://localhost'