Skip to content

Commit

Permalink
docker-compose-yaml modification
Browse files Browse the repository at this point in the history
  • Loading branch information
i312345 committed Aug 19, 2019
1 parent b9c0f47 commit f2aa40f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ services:
- metricsservice
ports:
- "10001:10001"

accesslogservice:
build:
context: ./accesslogservice
dockerfile: Dockerfile
networks:
envoymesh:
aliases:
- accesslogservice
ports:
- "10002:10002"

fluentd:
build: ./fluentd
Expand Down
17 changes: 17 additions & 0 deletions edge-envoy/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ static_resources:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
access_log:
- name: envoy.http_grpc_access_log
config:
common_config:
log_name: "edgeenvoyaccesslog"
grpc_service:
envoy_grpc:
cluster_name: accesslogservice
stat_prefix: ingress_http
route_config:
name: local_route
Expand Down Expand Up @@ -49,6 +57,15 @@ static_resources:
- socket_address:
address: metricsservice
port_value: 10001
- name: accesslogservice
connect_timeout: "0.25s"
type: "strict_dns"
lb_policy: ROUND_ROBIN
http2_protocol_options: {}
hosts:
- socket_address:
address: accesslogservice
port_value: 10002
stats_sinks:
- name: envoy.metrics_service
config:
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.12

require (
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/envoyproxy/go-control-plane v0.8.6 // indirect
github.com/fluent/fluent-logger-golang v1.4.0 // indirect
github.com/envoyproxy/go-control-plane v0.8.6
github.com/fluent/fluent-logger-golang v1.4.0
github.com/kr/pretty v0.1.0 // indirect
github.com/philhofer/fwd v1.0.0 // indirect
github.com/tinylib/msgp v1.1.0 // indirect
google.golang.org/grpc v1.23.0 // indirect
google.golang.org/grpc v1.23.0
)

0 comments on commit f2aa40f

Please sign in to comment.