Skip to content

Commit

Permalink
ci/cd : fix docker-compose for opa
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperBatata committed Feb 4, 2025
1 parent f5861a3 commit 6ef7ee8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docker-compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WEB_PORTAL_PORT=7102
VC_REPO_PORT=7103
DEV_WALLET_FRONTEND_PORT=7104
VAULT_PORT=8200
OPA_SERVER_PORT=8181

# database
DB_NAME=waltid
Expand Down
5 changes: 3 additions & 2 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ services:
profiles:
- identity
- all
- opa
pull_policy: always
build:
context: ../
Expand Down Expand Up @@ -187,10 +188,10 @@ services:
image: openpolicyagent/opa:latest
container_name: opa-server
profiles:
- identity
- opa
- all
ports:
- "8181:8181"
- "$OPA_SERVER_PORT:8181"
command: [ "run", "--server", "--addr", ":8181" ]
extra_hosts:
- "host.docker.internal:host-gateway"
Expand Down

0 comments on commit 6ef7ee8

Please sign in to comment.