Docker

Persistent volume on Windows 10 Pro

volumes:
    db: ~
services:
    ...
    volumes: db:/var/data

Docker with php built-in server

Run php -S 0.0.0.0:8080

Source: https://stackoverflow.com/a/25596185