From: Fl_GUI Date: Sun, 13 Apr 2025 17:41:40 +0000 (+0200) Subject: read only volumes X-Git-Url: https://git.openfl.eu/?a=commitdiff_plain;h=e1da9ec98830cb4d3e452ffa73fdc7593874e0aa;p=yampl.git read only volumes --- 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: