Closed SimoneGiusso closed 7 months ago
Compose works really hard to keep and re-use volumes between runs (including and especially "anonymous" volumes that aren't specified in the file, but are specified in the images in use), which is probably what you're running into.
Have you tried docker-compose down --volumes
and/or docker-compose up --renew-anon-volumes
?
According to the documentation running
docker compose
on this yaml file:should initialise:
primary-server with init.sql.
However it does not happen even if the file is correctly mounted:
Ii tried, to delete/re build the images, delete all the volumes but nothing. The
init.sql
script is not executed.