version: '3.7' services: consul: image: consul # restart: always ports: - "8500:8500" command: "agent -server -client 0.0.0.0 -bootstrap -node consul1 -ui -bind 0.0.0.0"