Created
          April 1, 2019 08:44 
        
      - 
      
- 
        Save pranavcode/34986de56d458ad942ff1d1d1623e8e7 to your computer and use it in GitHub Desktop. 
    Velotio - HashiCorp Consul Part 2 - MongoDB Replica Set - Run Consul agent on a MongoDB node
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | consul agent -bind 33.10.0.3 \ | |
| -advertise 33.10.0.3 \ | |
| -join consul_server \ | |
| -node mongo_1 \ | |
| -dns-port 53 \ | |
| -data-dir /data \ | |
| -config-dir /etc/consul.d \ | |
| -enable-local-script-checks | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment