Created
August 26, 2021 16:29
-
-
Save dky/57306d7ea6a1fa4c651c80c582ed0b70 to your computer and use it in GitHub Desktop.
compose consul
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
consul-server: | |
image: consul:1.10.1 | |
network_mode: host | |
container_name: consul | |
restart: always | |
command: 'agent -bind=192.168.4.2 -server -client=0.0.0.0 -bootstrap-expect=1 -node=nyc3-1 -ui -datacenter=nyc3' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment