Move client-map to a directory bind-mount. Editing bind-mounted files (with vim) changes their inode

This commit is contained in:
2026-04-03 15:31:35 +02:00
parent 5f76c7b3b6
commit e2bf619249
5 changed files with 9 additions and 8 deletions

View File

@@ -5,9 +5,9 @@ services:
ports:
- "80:80"
volumes:
- ./client-map.yaml:/app/client-map.yaml:ro
- ./config:/app/config:ro
environment:
LISTEN: ":80"
CLIENT_MAP: /app/client-map.yaml
CLIENT_MAP: /app/config/client-map.yaml
DOCROOT: /app/docroot
restart: unless-stopped