version: '3.6' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:6.8.15 environment: - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - transport.host=0.0.0.0 - discovery.type=single-node - xpack.security.enabled=false networks: conductor-network: aliases: - es logging: driver: "journald" deploy: mode: replicated replicas: 1 restart_policy: condition: on-failure delay: 5s max_attempts: 3 window: 120s networks: conductor-network: