github.com/anycable/anycable-go@v1.5.1/etc/envoy/envoy.yaml (about)

     1  admin:
     2    access_log_path: /tmp/admin_access.log
     3    address:
     4      socket_address: { address: 0.0.0.0, port_value: 9901 }
     5  
     6  static_resources:
     7    listeners:
     8    - name: listener_0
     9      address:
    10        socket_address: { address: 0.0.0.0, port_value: 50051 }
    11      filter_chains:
    12      - filters:
    13        - name: envoy.http_connection_manager
    14          config:
    15            stat_prefix: ingress_http
    16            codec_type: AUTO
    17            route_config:
    18              name: local_route
    19              virtual_hosts:
    20              - name: anycable_grpc
    21                domains: ["*"]
    22                routes:
    23                - match: { prefix: "/" }
    24                  route: { cluster: anycable_grpc }
    25            http_filters:
    26            - name: envoy.router
    27              config: {}
    28    clusters:
    29    - name: anycable_grpc
    30      connect_timeout: 25s
    31      type: STRICT_DNS
    32      lb_policy: ROUND_ROBIN
    33      dns_lookup_family: V4_ONLY
    34      http2_protocol_options: { }
    35      hosts: [
    36        { socket_address: { address: "host.docker.internal", port_value: 50060 }},
    37        { socket_address: { address: "host.docker.internal", port_value: 50061 }}
    38      ]