db: Specify version of pgsql
You may see this error if you use pgsql 9.5 with 9.4 data. > FATAL: database files are incompatible with server > DETAIL: The data directory was initialized by PostgreSQL version 9.4, which is not compatible with this version 9.5.0.
This commit is contained in:
parent
459e3822ec
commit
57d1d448b2
@ -1,4 +1,4 @@
|
||||
FROM postgres
|
||||
FROM postgres:9.4
|
||||
|
||||
ADD make_db.sh /docker-entrypoint-initdb.d/
|
||||
|
||||
|
Reference in New Issue
Block a user