Created
August 2, 2020 09:24
-
-
Save shanesoh/d1a74c4e7c607c1f9f15dd451bef2d68 to your computer and use it in GitHub Desktop.
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
version: "3.7" | |
services: | |
envoy: | |
build: ./compose/envoy | |
ports: | |
- "8080:80" | |
volumes: | |
- ./envoy.yaml:/config/envoy.yaml | |
environment: | |
- DEBUG_LEVEL=info | |
- SERVICE_NAME=app | |
- SERVICE_PORT=80 | |
opa: | |
image: openpolicyagent/opa:0.21.1-istio | |
volumes: | |
- ./policy.rego:/config/policy.rego | |
command: | |
- "run" | |
- "--log-level=debug" | |
- "--log-format=json-pretty" | |
- "--server" | |
- "--set=plugins.envoy_ext_authz_grpc.addr=:9191" | |
- "--set=decision_logs.console=true" | |
- "/config/policy.rego" | |
app: | |
image: kennethreitz/httpbin:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment