You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
354 B
18 lines
354 B
6 years ago
|
version: '2'
|
||
|
services:
|
||
|
opa:
|
||
|
image: openpolicyagent/opa:0.9.1
|
||
|
ports:
|
||
|
- 8181:8181
|
||
|
command:
|
||
|
- "run"
|
||
|
- "--server"
|
||
|
- "--log-level=debug"
|
||
|
api_server:
|
||
|
image: openpolicyagent/demo-restful-api:0.2
|
||
|
ports:
|
||
|
- 5000:5000
|
||
|
environment:
|
||
|
- OPA_ADDR=http://opa:8181
|
||
|
- POLICY_PATH=/v1/data/httpapi/authz
|