This commit is contained in:
2026-04-09 23:43:41 +03:30
parent 8579f9ae91
commit 83e20bf67e
8 changed files with 97 additions and 2 deletions
+9
View File
@@ -8,6 +8,15 @@ This service runs OPA as a standalone authorization engine for `backend/access_c
docker compose -f accsess/docker-compose.yaml up -d
```
If you want request logging only on development, start the stack with
`APP_ENV=DEVELOP` and enable the `develop` profile. In that mode, OPA sends
decision logs to a sidecar service, and the log file is written to
`accsess/logs/opa.log` on the host through a Docker volume.
```bash
APP_ENV=DEVELOP COMPOSE_PROFILES=develop docker compose -f accsess/docker-compose.yaml up -d
```
## Decision endpoints
- Single feature: `POST /v1/data/croplogic/authz/decision`