Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Could not find consul domain #2

Open
ggalihpp opened this issue Mar 20, 2018 · 1 comment
Open

Could not find consul domain #2

ggalihpp opened this issue Mar 20, 2018 · 1 comment

Comments

@ggalihpp
Copy link

I tried to start with

PORT=1000 CONSUL_HTTP_ADDR=10.10.7.201:8500 go run main.go

but the error tells me

Could not find consul domain

the question is,

  1. How to check my consul domain is? I run it without passing a domain parameter.
  2. How to passing the domain to consul-envoy.

thankyou

@ggalihpp
Copy link
Author

I just found out the default domain name is "consul"

so, what is the ENV variable for the domain?
I tried:

CONSUL_DOMAIN
DOMAIN
CONSUL_DNS_DOMAIN
CONSUL_DNS

nothing's work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant