If we would store the data there, we can better inspect it, and reduces the local stack by one volume.
Similar to the keycloak user, in setup-postgres-db.sh we want to have a seperate pgAdmin db and user, if possible (not sure yet what pgAdmin needs in that regard). If admin user is needed, we can live with that for the Dev environment...
If that works, the superfluous volume doesnt need to be created anymore and should be removed from the stack, obviously.
Right now pgAdmin uses a local docker volume to store its data. It is possible to use PostgreSQL as a store, see https://www.pgadmin.org/docs/pgadmin4/latest/external_database.html
If we would store the data there, we can better inspect it, and reduces the local stack by one volume.
Similar to the keycloak user, in setup-postgres-db.sh we want to have a seperate pgAdmin db and user, if possible (not sure yet what pgAdmin needs in that regard). If admin user is needed, we can live with that for the Dev environment...
If that works, the superfluous volume doesnt need to be created anymore and should be removed from the stack, obviously.