See https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md


# clone repo
git clone https://github.com/ansible/awx.gitor 
#or
#git clone -b 17.0.1 https://github.com/ansible/awx.git

cd awx

make docker-compose-buildmake docker-compose

#install nvm and open a new shell
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

# use node 18
nvm install 18

#build UI
make clean/ui ui

#make docker-compose

# startup in background
make docker-compose COMPOSE_UP_OPTS=-d


Create super user

docker exec -ti tools_awx_1 awx-manage createsuperuser

/var/lib/awx/venv/awx/lib64/python3.12/site-packages/django/db/backends/utils.py:98: RuntimeWarning: Accessing the database during app initialization is discouraged. To fix this warning, avoid executing queries in AppConfig.ready() or when your app modules are imported.
  warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)

Username (leave blank to use 'awx'): 
Email address: jmehan@solinkcorp.com
Password: 
Password (again): 
Superuser created successfully.



Browse https://localhost:8043/



References

ReferencesURL
AWX Repohttps://github.com/ansible/awx/tree/devel
Effortless AWX Setup with Docker: Step-by-Step Guidehttps://medium.com/@puneetgourish/effortless-awx-setup-with-docker-step-by-step-guide-71bc94595904
Introduction to AWX on Ansible | Dynamic Inventories for Google Cloudhttps://medium.com/cstech/introduction-to-awx-ansible-setting-dynamic-inventories-for-google-cloud-gcp-5ad6eb3e27cc