]> git.openfl.eu Git - yampl.git/commitdiff
read only volumes
authorFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 17:41:40 +0000 (19:41 +0200)
committerFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 17:41:40 +0000 (19:41 +0200)
compose.yaml

index 64c7d48ed0dbbc77293343cbef456a7766aa3ca4..5bd83f7fb58eca3a2d43087725d13d0974a190de 100644 (file)
@@ -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: