In the "Database Configuration" section on the image docs (https://hub.docker.com/_/postgres), it's easy to see how to override database configuration for docker run commands. I'm currently trying to do this via docker stack deploy..., and am struggling to figure this out.
It would be very helpful if the... via docker stack deploy or docker-compose section included an example of specifying a database parameter such as random_page_cost