Someone has an example of a keycloak.properties for config the database? thanks in advance.
Are you using the standalone distribution or the Docker container?
Docs for DB config for standalone are here: Server Installation and Configuration Guide
General docs for Docker config (including DB) are here: Docker Hub