From bd40ce5460581bbd1cd8a48e133db49afefc2172 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sun, 12 Oct 2025 18:33:07 +0200 Subject: [PATCH] vhaudiquetfr: updated volumes --- .../production/vhaudiquetfr/docker-compose.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docker/production/vhaudiquetfr/docker-compose.yml b/docker/production/vhaudiquetfr/docker-compose.yml index c7be03f..c321d46 100644 --- a/docker/production/vhaudiquetfr/docker-compose.yml +++ b/docker/production/vhaudiquetfr/docker-compose.yml @@ -14,6 +14,7 @@ services: - NGINX_HOST=vhaudiquet.fr - NGINX_PORT=80 volumes: + - files:/usr/share/nginx/html/files - public:/usr/share/nginx/html/public networks: @@ -22,8 +23,14 @@ networks: name: proxy volumes: - public: - driver_opts: - type: 'nfs' - o: 'addr=truenas.local' - device: ':/mnt/main_storage/public' \ No newline at end of file + files: + driver: local + driver_opts: + type: 'none' + o: 'bind' + device: '/app/vhaudiquetfr/files' + public: + driver_opts: + type: 'nfs' + o: 'addr=truenas.lan' + device: ':/mnt/main_storage/public'