Skip to content

Commit 6f4873c

Browse files
authored
README, docker-compose: work with local image (#5)
1 parent fc867b1 commit 6f4873c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ products by user.
3434
3. go to http://127.0.0.1:3000 (localhost yields CORS errors when reaching EOPA)
3535
* Open Dev Tools network tab for insights if something goes wrong: not all errors
3636
are currently surfaced in a usable way.
37+
* Since the backend functionality isn't in any EOPA edge build yet, run `make build-local`
38+
on the propor EOPA source branch, and start the stack via
39+
40+
```
41+
EOPA_IMAGE=ko.local/enterprise-opa-private:edge EOPA_PULL_POLICY=missing docker compose up
42+
```

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ services:
77
- eopa
88

99
eopa:
10-
image: ghcr.io/styrainc/enterprise-opa:edge
11-
pull_policy: always # better when using :edge
10+
image: ${EOPA_IMAGE:-ghcr.io/styrainc/enterprise-opa:edge}
11+
pull_policy: ${EOPA_PULL_POLICY:-always}
1212
ports:
1313
- "8181:8181"
1414
command:

0 commit comments

Comments
 (0)