Ingress like routing and DNS service for microservices development.
// TODO: Add installation instructions
Create a congress.yaml
file on your project root directory. The file will
contain all the ingress like routes for our microservices. The file syntax
is similar to kubernetes ingress scheme.
congress:
ip: 127.0.0.1
proxy:
enabled: true
port: 80
dns:
enabled: true
port: 23
fallback: 8.8.8.8
rules:
- host: myapp.dev
defaultBackend: http://frontend-service:80/
- host: api.myapp.dev
paths:
- path: /catalog
backend: http://catalog-service:80/
- path: /checkout
backend: http://checkout-service:80/
IP address of the environment running congress instance. The IP address used to respond DNS queries.
(Default: true)
Sets whether or not congress reverse-proxy should be enabled for routing requests.
Port number for congress reverse-proxy server.
(Default: true)
Sets whether or not congress DNS should be enabled. The DNS will respond to
questions for rules.host
with congress.ip
. The DNS could be used as default
name resolver on development environments.
Port number for congress DNS.
Fallback DNS server address. The queries will be sent to fallback DNS when there's no configured rule available for the queried hostname.