docker-compose.yml: mount volumes read-only where appropriate

This commit is contained in:
Matthias Schiffer 2025-02-25 18:23:54 +01:00
parent 6e2f2697fc
commit 5ee8e493d4
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -28,7 +28,7 @@ services:
- '/input/world'
- '/output'
volumes:
- data:/input
- data:/input:ro
- output:/output
- processed:/output/processed
network_mode: 'none'
@ -42,7 +42,7 @@ services:
ports:
- '8080:80'
volumes:
- output:/usr/share/nginx/html/data
- output:/usr/share/nginx/html/data:ro
restart: unless-stopped
volumes: