diff --git a/acapy_cache_redis/v0_1/redis_base_cache.py b/acapy_cache_redis/v0_1/redis_base_cache.py index 6210725..9b3d05c 100644 --- a/acapy_cache_redis/v0_1/redis_base_cache.py +++ b/acapy_cache_redis/v0_1/redis_base_cache.py @@ -1,6 +1,5 @@ import json import logging -import ssl from typing import Any, Sequence, Text, Union import aioredis @@ -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) diff --git a/docker-compose.yml b/docker-compose.yml index ebcd5e6..79b06aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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. diff --git a/docker/default.yml b/docker/default.yml index d525ac1..bea0d0c 100644 --- a/docker/default.yml +++ b/docker/default.yml @@ -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