Created
May 9, 2022 05:12
-
-
Save achantavy/8e4ab23ac987ab144a950cc5b8e30556 to your computer and use it in GitHub Desktop.
Envoy Neo4j TCP Proxy
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
| static_resources: | |
| listeners: | |
| - name: www | |
| address: | |
| socket_address: | |
| address: 0.0.0.0 | |
| port_value: 10000 | |
| filter_chains: | |
| - filters: | |
| - name: envoy.filters.network.http_connection_manager | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager | |
| stat_prefix: ingress_http | |
| access_log: | |
| - name: envoy.access_loggers.stdout | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog | |
| http_filters: | |
| - name: envoy.filters.http.router | |
| route_config: | |
| name: local_route | |
| virtual_hosts: | |
| - name: local_service | |
| domains: ["*"] | |
| routes: | |
| - match: | |
| prefix: "/" | |
| route: | |
| cluster: neo4j_web | |
| - name: bolt | |
| address: | |
| socket_address: | |
| address: 0.0.0.0 | |
| port_value: 12000 | |
| filter_chains: | |
| - filters: | |
| - name: envoy.filters.network.tcp_proxy | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy | |
| cluster: service_wss_passthrough | |
| stat_prefix: wss_passthrough | |
| access_log: | |
| - name: envoy.access_loggers.stdout | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog | |
| clusters: | |
| - name: neo4j_web | |
| connect_timeout: 30s | |
| type: LOGICAL_DNS | |
| dns_lookup_family: V4_ONLY | |
| load_assignment: | |
| cluster_name: neo4j_web | |
| endpoints: | |
| - lb_endpoints: | |
| - endpoint: | |
| address: | |
| socket_address: | |
| address: localhost | |
| port_value: 7474 | |
| - name: service_wss_passthrough | |
| connect_timeout: 30s | |
| type: LOGICAL_DNS | |
| dns_lookup_family: V4_ONLY | |
| load_assignment: | |
| cluster_name: service_wss_passthrough | |
| endpoints: | |
| - lb_endpoints: | |
| - endpoint: | |
| address: | |
| socket_address: | |
| address: localhost | |
| port_value: 7687 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment