Inside of the container (use sh for exec) redis-cli config set appendonly yes