How can I run loki cluster using docker but not k8s

the example code on github is running 3 nodes on one machine, how should I configure when then are on different machines using docker.

memberlist:
join_members: [“loki-1”, “loki-2”, “loki-3”]
dead_node_reclaim_time: 30s
gossip_to_dead_nodes_time: 15s
left_ingesters_timeout: 30s
bind_addr: [‘0.0.0.0’]
bind_port: 7946