Skip to content

Commit

Permalink
ci/cd : added opa server to docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperBatata committed Feb 4, 2025
1 parent a8f5c96 commit a982eeb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ services:
dockerfile: waltid-services/waltid-verifier-api/Dockerfile
depends_on:
- caddy
- opa-server
env_file:
- .env
volumes:
Expand Down Expand Up @@ -180,6 +181,18 @@ services:
volumes:
- ./vault/init.sh:/vault/scripts/init.sh

opa-server:
image: openpolicyagent/opa:latest
container_name: opa-server
profiles:
- identity
- all
ports:
- "8181:8181"
volumes:
- ./opa/policies:/policies
command: "run --server"

caddy:
image: docker.io/caddy:2
restart: unless-stopped
Expand Down

0 comments on commit a982eeb

Please sign in to comment.