Hello,
You are probaly running the dockware #play option, right?
Look at the dockware #dev Option (dockware - the simple way to develop and explore Shopware 6 locally), you can look at my docker-compose.yml here: Shopware 6.5 Dockware - #3 von tom_prok
Best regards
Tom