Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Merged
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
3 changes: 1 addition & 2 deletions acapy_cache_redis/v0_1/redis_base_cache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import logging
import ssl
from typing import Any, Sequence, Text, Union

import aioredis
Expand Down Expand Up @@ -62,7 +61,7 @@ def __init__(self, root_profile: Profile) -> None:
max_connections=10,
username=username,
password=password,
ssl_ca_certs=ca_cert,
# ssl_ca_certs=ca_cert,
)
self.redis = aioredis.Redis(connection_pool=self.pool)

Expand Down
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ services:
- ./redis.conf:/etc/redis/redis.conf:ro,z
environment:
- REDIS_REPLICATION_MODE=master
networks:
node_net:
ipv4_address: 172.128.0.4

# networking for the Redis container
networks:
node_net:
ipam:
driver: default
config:
- subnet: 172.128.0.0/16

#TODO: add a volume for the redis data
#TODO: add healthcheck and then the agent should have a depends on condition of service_healthy for the service.
2 changes: 1 addition & 1 deletion docker/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ connections-invite: true
log-level: debug

plugin-config-value:
- redis_cache.connection="rediss://hostname-with-ssl:6379/1"
- redis_cache.connection="redis://redis:6379/0"
# - redis_cache.credentials.username="username"
# - redis_cache.credentials.password="password"
# - redis_cache.ssl.cacerts=./ca.crt