-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [#36] Adding Headers to OPA request
- Loading branch information
Showing
17 changed files
with
235 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Copyright AlertAvert.com (c) 2022. All rights reserved. | ||
|
||
version: '3.2' | ||
|
||
services: | ||
opa: | ||
container_name: opa | ||
hostname: opa | ||
image: openpolicyagent/opa:0.42.2 | ||
command: run --server --addr :8181 | ||
ports: | ||
- "8181:8181" | ||
networks: | ||
- backend | ||
|
||
mongo: | ||
container_name: "mongo" | ||
image: "mongo:4" | ||
hostname: mongo | ||
ports: | ||
- "27017:27017" | ||
networks: | ||
- backend | ||
volumes: | ||
- mongo_data:/data | ||
|
||
### INFRASTRUCTURE | ||
|
||
volumes: | ||
mongo_data: | ||
|
||
# To connect to the servers in this stack, from a container run | ||
# via Docker, use `--network docker_backend`. | ||
# The hosts listed above will then be reachable at the given names, | ||
# on whatever ports are exposed. | ||
networks: | ||
backend: | ||
ipam: | ||
config: | ||
- subnet: 172.1.2.0/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.