随笔分类 -  consul

摘要:upstream consul { server 127.0.0.1:8501; server 127.0.0.1:8502; server 127.0.0.1:8503; } server { listen 80; server_name consul.test.com;#服务域名,需要填写你的服务域名 location ... 阅读全文
posted @ 2019-05-12 12:44 王东波 阅读(74) 评论(0) 推荐(0)
摘要:version: '2.0' services: consul-server1: image: consul:latest hostname: "consul-server1" ports: - "8501:8500" volumes: - ./consul/data1:/consul/data command: "agent ... 阅读全文
posted @ 2019-05-12 12:43 王东波 阅读(117) 评论(0) 推荐(0)