getting redis error for ansible tower upgrade through docker

Hi,

I am upgrading ansible tower from 7.0.0 to 11.0.0 through Docker-Compose file, now when I run the docker-compose up command, I am getting below error. please help me what is the mistake I am doing hear in the configuration.

ValueError: Redis URL must specify one of the followingschemes (redis://, rediss://, unix://)
task_1 | 2020-05-09 11:00:41,341 INFO exited: callback-receiver (exit status 1; not expected)
task_1 | 2020-05-09 11:00:42,344 INFO spawned: ‘callback-receiver’ with pid 1276
task_1 | 2020-05-09 11:00:43,345 INFO success: callback-receiver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
web_1 | 2020-05-09 11:00:43,549 WARNING awx.main.analytics.broadcast_websocket (‘Unsupported URI scheme’, ‘amqp’)
task_1 | 2020-05-09 11:00:43,977 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1282
task_1 | 2020-05-09 11:00:43,977 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1282
task_1 | 2020-05-09 11:00:43,982 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1283
task_1 | 2020-05-09 11:00:43,982 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1283
task_1 | 2020-05-09 11:00:43,986 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1284
task_1 | 2020-05-09 11:00:43,986 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1284
task_1 | 2020-05-09 11:00:43,991 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1285
task_1 | 2020-05-09 11:00:43,991 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:1285
task_1 | Traceback (most recent call last):

below is my compose file:

version: ‘2’
services:

web:
image: ansible/awx_web:11.0.0
container_name: awx_web
depends_on:

  • redis
  • memcached
    ports:
  • “80:8052”
  • “443:8443”
    hostname: awxweb
    user: root
    restart: unless-stopped
    volumes:
  • “/var/lib/awx/SECRET_KEY:/etc/tower/SECRET_KEY”
  • “/var/lib/awx/environment.sh:/etc/tower/conf.d/environment.sh”
  • “/var/lib/awx/credentials.py:/etc/tower/conf.d/credentials.py”
  • “/var/lib/awx/projects:/var/lib/awx/projects:rw”
  • “/var/lib/awx/projects/nginx.conf:/etc/nginx/nginx.conf:rw”

dns:

  • 10.204.226.77
  • 10.204.226.111
    environment:
    http_proxy:
    https_proxy:
    no_proxy:

task:
image: ansible/awx_task:11.0.0
container_name: awx_task
depends_on:

  • redis
  • memcached
  • web
    hostname: awx
    user: root
    restart: unless-stopped
    volumes:
  • “/var/lib/awx/SECRET_KEY:/etc/tower/SECRET_KEY”
  • “/var/lib/awx/environment.sh:/etc/tower/conf.d/environment.sh”
  • “/var/lib/awx/credentials.py:/etc/tower/conf.d/credentials.py”
  • “/var/lib/awx/projects:/var/lib/awx/projects:rw”
    dns:
  • 10.204.226.77
  • 10.204.226.111
    environment:
    http_proxy:
    https_proxy:
    no_proxy:
    redis:
    image: redis:6.0-rc4-alpine3.11
    container_name: tools_redis_1
    environment:
    REDIS_PASSWORD: password
    ports:
  • “6379:6379”
    volumes:
  • “/var/lib/awx/redis.conf:/usr/local/etc/redis/redis.conf”
  • “/var/lib/awx/redis_socket_standalone:/var/run/redis/”
    command: [“/usr/local/etc/redis/redis.conf”]
    memcached:
    image: “memcached:alpine”
    container_name: awx_memcached
    restart: unless-stopped
    environment:
    http_proxy:
    https_proxy:
    no_proxy:

and In environment.sh file I have done the below configuration:
REDIS_URL=redis://ansible-ro.rbkm0e.ng.0002.use1.cache.amazonaws.com:6379
REDIS_PORT=6379
REDIS_SOCKET=/var/lib/awx/redis.sock
REDIS_PASSWORD=password