# Windows / Docker Desktop dev machines only — copy to docker-compose.override.yml # (gitignored; Docker Compose loads it automatically). The server does NOT use this. # # Why: a ./data/postgres bind mount onto the Windows filesystem hits a # WSL2/Docker Desktop bug where the 9p/virtiofs bridge reports normal # postgres:postgres 0600 ownership but the kernel still refuses the postgres # user's own open() calls for write — silent on read, fatal on any WAL write. # A Docker-managed named volume lives inside the WSL2 VM's own filesystem and # avoids it. Create it once with: docker volume create bellsystems-postgres-data services: postgres: volumes: - postgres-data:/var/lib/postgresql/data volumes: postgres-data: name: bellsystems-postgres-data external: true