Files
query-orchestration/cmd/cognito_test/permit_test/permit.opa.testing/docker-compose.yaml
T
Jay Brown 2ff6e05ffc Merged in feature/permit-integration-1 (pull request #172)
Permit integration - part 1

* WIP permit integration

* slim down build

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/permit-integration-1

* omit swagger from auth

* clean build

* comment

* part 1 completed

this is the initial permitio parts and tests without integration. Also testing.md since we have a new test target `task test:permitio`

* feature flag for no jwt validation

* permit integration

* fix ci unit tests

* ci fix

* build fix

* fix home handler

* fix redirect

* test fix

* update docs for auth
2025-07-11 19:27:14 +00:00

26 lines
575 B
YAML

---
name: opa-testing
services:
opa:
image: openpolicyagent/opa:latest
command: run --server --addr=:8181 --log-level=info /policies
volumes:
- "./policies:/policies:ro"
ports:
- "8181:8181"
environment:
- OPA_LOG_LEVEL=info
data_loader:
image: curlimages/curl:latest
depends_on:
opa:
condition: service_started
volumes:
- "./policy-data.json:/policy-data.json:ro"
- "./put-policy-data.sh:/put-policy-data.sh:ro"
working_dir: /
command: sh /put-policy-data.sh
network_mode: "host"