version: '3.6' services: method: image: "nubisware/geoindex.example:latest" command: > sh -c " python . `printenv ccptaskid` 3 > /output " deploy: mode: replicated replicas: 3 restart_policy: condition: none env_file: ccpenv logging: driver: "journald"