Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspace
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
workspace
Commits
1639c309
Commit
1639c309
authored
2 years ago
by
Lyuben Penkovski
Browse files
Options
Downloads
Plain Diff
Merge branch 'signer-service' into 'main'
Update docker-compose See merge request
!19
parents
0a7d2ea8
4faa9220
No related branches found
No related tags found
1 merge request
!19
Update docker-compose
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker-compose.yml
+5
-0
5 additions, 0 deletions
docker-compose.yml
env/signer.env
+2
-0
2 additions, 0 deletions
env/signer.env
mongo/docker-entrypoint-initdb.d/mongo-init.js
+10
-10
10 additions, 10 deletions
mongo/docker-entrypoint-initdb.d/mongo-init.js
with
17 additions
and
10 deletions
docker-compose.yml
+
5
−
0
View file @
1639c309
...
...
@@ -75,9 +75,14 @@ services:
-
vault
didresolver
:
container_name
:
didresolver
hostname
:
didresolver
image
:
universalresolver/uni-resolver-web:latest
ports
:
-
"
9090:8080"
depends_on
:
-
driver-did-key
-
indy-did-driver
driver-did-key
:
image
:
universalresolver/driver-did-key:latest
...
...
This diff is collapsed.
Click to expand it.
env/signer.env
+
2
−
0
View file @
1639c309
...
...
@@ -7,3 +7,5 @@ HTTP_WRITE_TIMEOUT="10s"
VAULT_ADDR="http://vault:8200"
VAULT_TOKEN="hvs.SaCAgNfJk91T1Qikb3XxH3ve"
VAULT_SIGNING_KEY="key1"
VAULT_SUPPORTED_KEYS="ed25519,ecdsa-p256,ecdsa-p384,ecdsa-p521,rsa-2048"
CREDENTIAL_ISSUER="http://signer:8080/v1/keys"
This diff is collapsed.
Click to expand it.
mongo/docker-entrypoint-initdb.d/mongo-init.js
+
10
−
10
View file @
1639c309
...
...
@@ -3,7 +3,7 @@ db.createCollection('policies');
db
.
policies
.
insertMany
(
[
{
filename
:
"
example
_1.0
.rego
"
,
filename
:
"
example
/example/1.0/policy
.rego
"
,
name
:
"
example
"
,
group
:
"
example
"
,
version
:
"
1.0
"
,
...
...
@@ -19,7 +19,7 @@ db.policies.insertMany(
`
},
{
filename
:
"
example
_2.0
.rego
"
,
filename
:
"
example
/example/2.0/policy
.rego
"
,
name
:
"
example
"
,
group
:
"
example
"
,
version
:
"
2.0
"
,
...
...
@@ -42,20 +42,20 @@ db.createCollection('taskTemplates');
db
.
taskTemplates
.
insertMany
(
[
{
"
name
"
:
"
didResolve
"
,
"
url
"
:
"
{{didResolveURL}}
"
,
"
method
"
:
"
POS
T
"
,
"
name
"
:
"
exampleTask
"
,
"
url
"
:
"
https://jsonplaceholder.typicode.com/todos/1
"
,
"
method
"
:
"
GE
T
"
,
"
requestPolicy
"
:
""
,
"
responsePolicy
"
:
""
,
"
finalPolicy
"
:
""
,
"
cacheNamespace
"
:
"
login
"
,
"
cacheScope
"
:
"
user
"
"
cacheNamespace
"
:
""
,
"
cacheScope
"
:
""
},
{
"
name
"
:
"
exampleTask
"
,
"
url
"
:
"
https://jsonplaceholder.typicode.com/todos/1
"
,
"
name
"
:
"
exampleTask
Policy
"
,
"
url
"
:
""
,
"
method
"
:
"
GET
"
,
"
requestPolicy
"
:
""
,
"
requestPolicy
"
:
"
example/example/1.0
"
,
"
responsePolicy
"
:
""
,
"
finalPolicy
"
:
""
,
"
cacheNamespace
"
:
""
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment