Closed palewire closed 2 years ago
This appears to be some issue with role creation after the first initialization of the container. If I recreate the python env file and reboot the image, the new random role doesn't seem to be created. That makes me think is likely caused by some user error on my part, where I don't fully understand how to reinitialize a postgres container after the first boot.
Dropping and recreating my postgresql docker volume did the trick. You should do the same if you encounter this problem.
This error is coming up when I run
docker-compose up
. It occurs on one of my laptops, but not on a desktop computer where the code was running fine yesterday. I wonder if some underlying PostgreSQL or Docker configuration is the issue.