docker run -d \ -v $CUSTOM_CONFIG:/etc/postgresql.conf \ -e POSTGRES_USER=postgres \ --name postgres \ postgres:9.6 postgres -c config_file=/etc/postgresql.conf