From e1da9ec98830cb4d3e452ffa73fdc7593874e0aa Mon Sep 17 00:00:00 2001 From: Fl_GUI Date: Sun, 13 Apr 2025 19:41:40 +0200 Subject: [PATCH] read only volumes --- compose.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/compose.yaml b/compose.yaml index 64c7d48..5bd83f7 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,9 +10,18 @@ services: ports: - "8080:8080" volumes: - - ./static:/app/static - - ./examples/templates/yampl:/app/templates - - ./examples/toml/:/app/toml + - type: bind + source: ./static + target: /app/static + read_only: true + - type: bind + source: ./examples/templates/yampl + target: /app/templates + read_only: true + - type: bind + source: ./examples/toml/ + target: /app/toml + read_only: true command: /app/toml/yampl.toml labels: -- 2.47.1