-
Notifications
You must be signed in to change notification settings - Fork 76
Add Bootstrap script to store a credential in the vc-auth agent #917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
esune
merged 7 commits into
openwallet-foundation:main
from
Gavinok:bootstrap-credential
Dec 4, 2025
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9977e66
Add Bootstrap script to store a credential in the vc-auth agent
Gavinok e95925b
Merge branch 'main' into bootstrap-credential
Gavinok a7ac158
Merge branch 'main' into bootstrap-credential
Gavinok a9e2ca0
Static Schema Name In Bootstrap
Gavinok 1749d00
Split Issuer into a seperate docker compose file
Gavinok 2b9f4d5
Schema is still dynamic but now with a static starting string
Gavinok a2b4896
Update docker/docker-compose-issuer.yaml
Gavinok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,56 @@ | ||
| services: | ||
| issuer-aca-py: | ||
| image: ghcr.io/openwallet-foundation/acapy-agent:py3.12-1.3.1 | ||
| environment: | ||
| - ACAPY_LABEL=${ISSUER_AGENT_NAME:-Trusted Verifier Issuer} | ||
| - ACAPY_ENDPOINT=${ISSUER_AGENT_ENDPOINT:-http://issuer-aca-py:8031} | ||
| - ACAPY_WALLET_NAME=issuer_agent_wallet | ||
| - ACAPY_WALLET_TYPE=askar | ||
| - ACAPY_WALLET_KEY=${ISSUER_WALLET_ENCRYPTION_KEY:-issuer_wallet_key_change_me} | ||
| - ACAPY_WALLET_SEED=${ISSUER_AGENT_WALLET_SEED:-000000000000000000000000Issuer01} | ||
| - ACAPY_AUTO_ACCEPT_INVITES=true | ||
| - ACAPY_AUTO_ACCEPT_REQUESTS=true | ||
| - ACAPY_AUTO_PING_CONNECTION=true | ||
| - ACAPY_WALLET_STORAGE_TYPE=postgres_storage | ||
| - ACAPY_GENESIS_TRANSACTIONS_LIST=/tmp/ledgers.yaml | ||
| - ACAPY_LOG_LEVEL=info | ||
| - ACAPY_AUTO_PROVISION=true | ||
| - POSTGRESQL_WALLET_HOST=issuer-wallet-db | ||
| - POSTGRESQL_WALLET_PORT=5432 | ||
| - POSTGRESQL_WALLET_USER=${ISSUER_POSTGRESQL_WALLET_USER:-issuer_wallet_user} | ||
| - POSTGRESQL_WALLET_PASSWORD=${ISSUER_POSTGRESQL_WALLET_PASSWORD:-issuer_wallet_password} | ||
| ports: | ||
| - ${ISSUER_AGENT_ADMIN_PORT:-8078}:8078 | ||
| - ${ISSUER_AGENT_HTTP_PORT:-8031}:8031 | ||
| networks: | ||
| - vc_auth | ||
| volumes: | ||
| - ./agent/config/ledgers.yaml:/tmp/ledgers.yaml | ||
| depends_on: | ||
| - issuer-wallet-db | ||
| entrypoint: /bin/bash | ||
| command: | ||
| [ | ||
| "-c", | ||
| 'sleep 15; aca-py start --inbound-transport http ''0.0.0.0'' 8031 --outbound-transport http --wallet-storage-config ''{"url":"issuer-wallet-db:5432","max_connections":5}'' --wallet-storage-creds ''{"account":"${ISSUER_POSTGRESQL_WALLET_USER:-issuer_wallet_user}","password":"${ISSUER_POSTGRESQL_WALLET_PASSWORD:-issuer_wallet_password}","admin_account":"${ISSUER_POSTGRESQL_WALLET_USER:-issuer_wallet_user}","admin_password":"${ISSUER_POSTGRESQL_WALLET_PASSWORD:-issuer_wallet_password}"}'' --admin ''0.0.0.0'' 8078 --admin-insecure-mode', | ||
| ] | ||
|
|
||
| issuer-wallet-db: | ||
| image: postgres:15.1-alpine | ||
| environment: | ||
| - POSTGRES_USER=${ISSUER_POSTGRESQL_WALLET_USER:-issuer_wallet_user} | ||
| - POSTGRES_PASSWORD=${ISSUER_POSTGRESQL_WALLET_PASSWORD:-issuer_wallet_password} | ||
| - POSTGRES_DB=${ISSUER_POSTGRESQL_WALLET_DATABASE:-issuer_wallet} | ||
| networks: | ||
| - vc_auth | ||
| ports: | ||
| - 5434:5432 | ||
| volumes: | ||
| - issuer-wallet-db:/var/lib/pgsql/data | ||
|
|
||
| networks: | ||
| vc_auth: | ||
| driver: bridge | ||
|
|
||
| volumes: | ||
| issuer-wallet-db: | ||
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.