version: '2'

services:
  master:
    container_name: 'citus_master'
    image: 'citusdata/citus:5.2.2'
    ports: ['5432:5432']
    labels: ['com.citusdata.role=Master']
  worker:
    image: 'citusdata/citus:5.2.2'
    labels: ['com.citusdata.role=Worker']
  config:
    container_name: 'citus_config'
    image: 'citusdata/workerlist-gen:0.9.0'
    volumes: ['/var/run/docker.sock:/tmp/docker.sock']
    volumes_from: ['master']

version: '2'

services:
  master:
    container_name: 'citus_master'
    image: 'citusdata/citus:5.2.2'
    ports: ['5432:5432']
    labels: ['com.citusdata.role=Master']
  worker:
    image: 'citusdata/citus:5.2.2'
    labels: ['com.citusdata.role=Worker']
  config:
    container_name: 'citus_config'
    image: 'citusdata/workerlist-gen:1.0.0'
    volumes: ['/var/run/docker.sock:/tmp/docker.sock']
    volumes_from: ['master']

Use latest workerlist generation image
Use latest workerlist generation image
