Persistent PostgreSQL inside Docker

Most recommended way to persist data inside docker is to create data only container. However to simplify things it is also possible just to mount a directory from the host and to use that location as persistent storage. Also, this way it is easy enough to dockerize existing Postgres installations.

read more
Alen KomljenPersistent PostgreSQL inside Docker