Skip to content

Instantly share code, notes, and snippets.

@andersonkxiass
Created June 20, 2020 16:31
Show Gist options
  • Save andersonkxiass/3080bcfdd40cba1967ae60583e4646e0 to your computer and use it in GitHub Desktop.
Save andersonkxiass/3080bcfdd40cba1967ae60583e4646e0 to your computer and use it in GitHub Desktop.
version: '3.3'
services:
opa:
image: openpolicyagent/opa:latest
ports:
- 8181:8181
# WARNING: OPA is NOT running with an authorization policy configured. This
# means that clients can read and write policies in OPA. If you are
# deploying OPA in an insecure environment, be sure to configure
# authentication and authorization on the daemon. See the Security page for
# details: https://www.openpolicyagent.org/docs/security.html.
command:
- "run"
- "--server"
- "--log-format=json-pretty"
- "--set=decision_logs.console=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment