'In aws ecs logs Getting error,Failed opening the RDB file crontab (in server root dir /etc) for saving: Permission denied. Also my Redis is clearing
Getting Redis error in aws ecs logs

version: "3"
services:
cache:
image: redis:5.0.13-buster
container_name: redis
restart: always
ports:
- 6379:6379
command: redis-server --save 20 1 --loglevel warning
volumes:
- ./redis/data:/data
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
node-app:
build: .
depends_on:
- cache
ports:
- 9000:9000
environment:
PORT: 9000
REDIS_PORT: 6379
REDIS_HOST: redis
links:
- cache
container_name: node_api
I have tried to change redis version and also try to give volumes different location but none of this is working.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
