# Update Awx on docker from 17.1.0 release

**URL:** <https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168>\
**Category:** Get Help\
**Tags:** kubernetes, rhel, upgrade, docker, awx\
**Created:** [April 26, 2024, 8:30am UTC](https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168 "2024-04-26T08:30:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marianna\_Buffa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/marianna_buffa/32/3008_2.png) [@Marianna\_Buffa](https://forum.ansible.com/u/Marianna_Buffa)\
**Post date:** [April 26, 2024, 8:30am UTC](https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168/1 "2024-04-26T08:30:53Z")

</div>

Hi all, i installed Awx ansible on a VM with RHEL 8 using a docker installation of 17.1.0 awx version.  
I use it succefully and daily for patching other VM’s.

I write you here to ask a question:

- if i upgrade awx version to a version 18.0 or major, do I have to use forcely AWX Operator installation, on a kubernetes/Openshift cluster or can I upgrade the docker installation I already have on my VM?

Thank you for you suggestions.

---

<div class="post-metadata">

**Author:** ![atul\_mohan](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@atul\_mohan](https://forum.ansible.com/u/atul_mohan)\
**Post date:** [February 3, 2025, 5:43am UTC](https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168/2 "2025-02-03T05:43:17Z")

</div>

```auto
version: '3'
services:
  awx:
    image: ansible/awx:21.0.0
    ports:
      - "8052:8052"
    environment:
      - SECRET_KEY=your_secret_key
      - DATABASE_NAME=awx
      - DATABASE_USER=awx
      - DATABASE_PASSWORD=awxpass
      - DATABASE_HOST=postgres
      - DATABASE_PORT=5432
      - RABBITMQ_USER=guest
      - RABBITMQ_PASSWORD=guest
      - RABBITMQ_HOST=rabbitmq
      - RABBITMQ_PORT=5672
      - MEMCACHED_HOST=memcached
      - MEMCACHED_PORT=11211
    depends_on:
      - postgres
      - rabbitmq
      - memcached

  postgres:
    image: postgres:12
    environment:
      - POSTGRES_USER=awx
      - POSTGRES_PASSWORD=awxpass
      - POSTGRES_DB=awx
    volumes:
      - postgres_data:/var/lib/postgresql/data

  rabbitmq:
    image: rabbitmq:3.8-management
    environment:
      - RABBITMQ_DEFAULT_USER=guest
      - RABBITMQ_DEFAULT_PASS=guest
    volumes:
      - rabbitmq_data:/var/lib/rabbitmq

  memcached:
    image: memcached:1.6
    ports:
      - "11211:11211"

volumes:
  postgres_data:
  rabbitmq_data:

```
