That undoes your change.
docker-compose down removes the containers and you loose your change.
docker-compose up -d bring up new containers.
Keep the stack up.
Make the change again.
Do not “bring the stack down and back up” with docker-compose.
Refresh your browser to see if it works.
Let me know the outcome.
Then if it works, I’ll show you how to make it “permanent” when you bring up the stack.