InfluxDB on RPi 4 with database on Synology NAS

Hello,
I would like to avoid to destroy my SD card and I’m looking to config the InfluxDB to write/read on a Synology NAS I have mounted on my Raspberry 4b.
I don’t know how to change the InfluxDB configuration.
Many thanks for your help