We finally got to the bottom of this. Environment variable was right, but there was an old container hanging around in the background confusing the docker network about what should match our proget_db.