I am using a postgres docker image configured with the following environment:
image: healthcheck/postgres:alpine
environment:
POSTGRES_USER: postgres
I have the following questions regarding this setup:
- What is the default user of postgresql?
- How does hardcoding the postgres user improve security?
- What special rights does the postgres user have?
- What is the upside and downside of using an unprivileged user ?