init postgres db dir during build