Ah sorry I didn’t realize that this is a duplicate thread …
You might want to take a look into this thread: Google OAUTH2 results in 404
It partly might not apply to your docker construct, but basically sums up the issue(s).
It’s possible a migration didn’t finish successful so you might need to run that again.