Skip to content
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

Feat/update aca py test #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions instance-configs/acapy-agent/configs/issuer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ outbound-transport: http
emit-new-didcomm-prefix: true

# Admin
admin-insecure-mode: true
# admin-insecure-mode: true
admin-api-key: ${ACAPY_ADMIN_API_KEY}

# Connections
debug-connections: true
Expand Down Expand Up @@ -43,5 +44,3 @@ wallet-storage-type: "postgres_storage"

# Replace Internal IP
plugin-config-value:
- redis_cache.connection="redis://{INTERNAL_IP}:6379/0"
- redis_cache.max_connections=90
7 changes: 4 additions & 3 deletions instance-configs/acapy-agent/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@ services:
- "8150:8150"
- "8151:8151"
environment:
ACAPY_ADMIN_API_KEY: ${ACAPY_ADMIN_API_KEY}
ACAPY_WALLET_STORAGE_CONFIG: '{"url":"${DATABASE}:5432","max_connections":5}'
ACAPY_GENESIS_URL: ${ACAPY_GENESIS_URL}
ACAPY_WALLET_STORAGE_CREDS: '{"account":"${ACCOUNT}","password":"${PASSWORD}","admin_account":"${ADMIN_ACCOUNT}","admin_password":"${ADMIN_PASSWORD}"}'
#entrypoint: python -m cProfile -m aries_cloudagent
command: >
start
--arg-file ./configs/issuer.yml
--endpoint http://${ISSUER}:8151
--arg-file ./configs/issuer.yml -o redis_cache.connection="redis://${DATABASE}:6379/0" -o redis_cache.max_connections=90
--endpoint http://${ISSUER}:${EXPOSED_PORT}
--genesis-url ${ACAPY_GENESIS_URL}
--log-level debug
healthcheck:
test: curl -s -o /dev/null -w '%{http_code}' "http://localhost:8151/status/live" | grep "200" > /dev/null
test: curl -s -o /dev/null -w '%{http_code}' "http://localhost:8150/status/live" | grep "200" > /dev/null
start_period: 30s
interval: 7s
timeout: 5s
Expand Down
3 changes: 2 additions & 1 deletion instance-configs/acapy-agent/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-indy-1.16.0-0.8.2
#FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-indy-1.16.0-0.8.2
#bcgovimages/von-image:py36-1.16-1
FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-indy-1.16.0-0.10.4

USER root
ENV POETRY_HOME=/opt/poetry \
Expand Down
Loading