Right now teslamate, for new installations, is broken by default. See:
https://github.com/teslamate-org/teslamate/issues/4233
Just need to change your docker compose to use postgres 16 instead of 17.
image: postgres:16
Note if you made it with 17 already, will need to remove the database...