As the title states, every time I docker compose up/down, a new volume is created.
This causes a few issues on my end notably the loss of my previous data.
Despite having the following set in my docker-compose.yaml
Surely this is an error on my end and not the expected behavior?
I'm semi-new to docker so if someone could point me in the right direction that would be much appreciated!
As the title states, every time I
docker compose up/down
, a new volume is created. This causes a few issues on my end notably the loss of my previous data.Despite having the following set in my
docker-compose.yaml
In practice I get this
And the
postgres_data
volume is completely emptySurely this is an error on my end and not the expected behavior? I'm semi-new to docker so if someone could point me in the right direction that would be much appreciated!