The postgis container offers a convenient way to run .sql files on container launch. This will make table changes in local development a matter of docker-compose down && docker-compose up --build. This was recently done on another project here. Implement similar approach and remove database persistence on container reboots so that database is always initialized from .sql on container restart.
The
postgis
container offers a convenient way to run .sql files on container launch. This will make table changes in local development a matter ofdocker-compose down && docker-compose up --build
. This was recently done on another project here. Implement similar approach and remove database persistence on container reboots so that database is always initialized from.sql
on container restart.