How to specify max log json file size in docker compose?

is there a default location for docker-compose.yml or it’s container specific ?

thanks