Loki wal use big part of diskspace

Hello.
I use loki in docker-compose and noticed that container space usage very intensively.
Size per week about 12Gb.
Inside the loki docker container this space is used by directories:

/loki/wal
/tmp/loki/chunks

Which options in loki configs should I use for reducing the use of space on a disk or enable rotation for these directories?