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:
Yi EungJun 2016-01-25 12:21:40 +09:00
parent 459e3822ec
commit 57d1d448b2

View File

@ -1,4 +1,4 @@
FROM postgres FROM postgres:9.4
ADD make_db.sh /docker-entrypoint-initdb.d/ ADD make_db.sh /docker-entrypoint-initdb.d/