How to configure victoriametrics in docker synology without using docker-compose

Hello,
This is probably my first post here. I been using HA for a few years now and i have reached the max size (16GB) of the sqlite db for my HA on synology docker.
my question is:
how can i apply the storage folder and retentionperiod to victoriametrics that is running in docker (not docker-compose) under synology? has anyone tried that before?

Currently, its running but the retention period is just 1 which i assume is a month. i am able to send data to it and i can see it using grafana.
but i am unable to find where the db is located and also at a loss at how to update the config since i cant find the folder it resides in.
if this is not tenable, please point me to a guide that can help me do the proper install?

edit*
i searched for hours before writing here, in both HA and synology forums to no avail. i tried various key words in various combinations. but it always just leads back to the victoriametrics doc and docker compose. (but not docker-compose. Whats the difference?) i have an older NAS DS1515+ so i guess i have older software running? and maybe thats my limitation? all the samples i’ve seen uses docker compose but not synology docker so i’m stuck…
end of edit*

Thank You!

ps. if this is the wrong category. apologees and please let me know which to use?

Here is description on how retentionPeriod works:

  -retentionPeriod value
     Data with timestamps outside the retentionPeriod is automatically deleted. The minimum retentionPeriod is 24h or 1d. See also -retentionFilter
     The following optional suffixes are supported: s (second), h (hour), d (day), w (week), y (year). If suffix isn't set, then the duration is counted in months (default 1)

You can set it by adding this flag to the docker-compose.yml at the command section. For example:

  victoriametrics:
    image: victoriametrics/victoria-metrics:v1.117.0
    ports:
      - 8428:8428
      - 8089:8089
      - 8089:8089/udp
      - 2003:2003
      - 2003:2003/udp
      - 4242:4242
    volumes:
      - vmdata:/storage
    command:
      - "--retentionPeriod=1y"
      - "--storageDataPath=/storage"
      - "--graphiteListenAddr=:2003"
      - "--opentsdbListenAddr=:4242"
      - "--httpListenAddr=:8428"
      - "--influxListenAddr=:8089"

See: VictoriaMetrics/deployment/docker/compose-vm-single.yml at fde196c86ef057a4caa79091224850bfe578e931 · VictoriaMetrics/VictoriaMetrics · GitHub

Or add -retentionPeriod flag with the required value of retention period to the docker run command:

docker run -it --rm -v `pwd`/victoria-metrics-data:/victoria-metrics-data -p 8428:8428 \
 victoriametrics/victoria-metrics:v1.117.0 --selfScrapeInterval=5s -storageDataPath=victoria-metrics-data -retentionPeriod=1y

Feel free to ask questions in the VictoriaMetrics communities.