The responding officers discovered the mutilated corpse of a woman by some dumpsters nearby.
回应的警官们在附近的垃圾箱旁发现了一具被肢解的女性尸体。
by介词: 在……旁
nearby在这里是个副词,修饰dumpsters
也可以放在名词前,变成形容词
Luckily there was a taxi rank nearby. 幸好附近有个出租车候客处。
来源:《柯林斯英汉双解大词典》
Her mother lived in a nearby town. 她母亲住在附近一个小镇上。
来源:《牛津词典》