Configure PostgreSQL based on the memory limit in the container cgroup (#122)
Configure PostgreSQL based on the memory limit in the container cgroup (#122)

* Configure PostgreSQL based on the memory limit in the container cgroup and not on the host's memory limit.

* Use os.path.exists.

* Take the minimum value of memory limit.

zalando/spilo,zalando/spilo,zalando/spilo