The postgres image creates a root user and a default database. The SQL file creates a non-default database and a lesser-privileged user specifically for the application.
https://hub.docker.com/_/postgres#initialization-scripts
Originally posted by @jgonggrijp in #87 (comment)
The postgres image creates a root user and a default database. The SQL file creates a non-default database and a lesser-privileged user specifically for the application.
https://hub.docker.com/_/postgres#initialization-scripts
Originally posted by @jgonggrijp in #87 (comment)