Synology Create Container fail

Followed the instructions several times and the container fails with the following error.

Create container homeassistant failed: {“message”:“invalid volume specification: ‘/volume1/docker::rw’: invalid mount config for type "bind": field Target must not be empty”}.

This is my docker compose for my NAS:

version: “3.9”
services:

homeassistant:
image: homeassistant/home-assistant
container_name: homeassistant
hostname: homeassistant
restart: always
mem_limit: 1g
cpu_shares: 1024
ports:
- 8123:8123
volumes:
- /etc/localtime:/etc/localtime:ro
- /volumeUSB2/usbshare/docker/home_assistant:/config
environment:
TZ: Europe/Amsterdam
PUID: 1026
PGID: 100
healthcheck:
disable: true
security_opt:
- no-new-privileges:true
network_mode: host

This looks like it’s missing path to where it should map it.
You have external path, empty path and than Read/Write.

Post here full command you’re using.