Image on dockerhub: https://hub.docker.com/r/bitnami/postgresql
I’m trying to get a custom image of postgres to work but I’m getting stuck on these errors
2024-11-18T22:38:32.021 app[e7843e15cd59e8] lax [info] /opt/bitnami/scripts/libpostgresql.sh: line 234: /opt/bitnami/postgresql/conf/pg_hba.conf: Permission denied
2024-11-18T22:38:32.034 app[e7843e15cd59e8] lax [info] /opt/bitnami/scripts/libfile.sh: line 41: /opt/bitnami/postgresql/conf/postgresql.conf: Permission denied
They have a environment that is READONLY and not customizable that points to this
POSTGRESQL_BASE_DIR | PostgreSQL installation directory | /opt/bitnami/postgresql
I tried creating a volume on top of /opt/bitnami however it also seems like there a lot of default configuration that is set in that folder that would be overrided if a clean volume is mounted on top.
Is there a clean way to solve this? Ideally I would like to just make /opt/bitnami
READ_WRITE