It would be helpfull to move pgadmin to docker compose. Example included: https://towardsdatascience.com/how-to-run-postgresql-and-pgadmin-using-docker-3a6a8ae918b5