Skip to content

Instantly share code, notes, and snippets.

@fosterseth
Last active September 11, 2025 20:50
Show Gist options
  • Select an option

  • Save fosterseth/d92d7c762ada2b43b200c48bd72ee9ee to your computer and use it in GitHub Desktop.

Select an option

Save fosterseth/d92d7c762ada2b43b200c48bd72ee9ee to your computer and use it in GitHub Desktop.
Gateway AWX DAB

Do at least once

  • in awx run make docker-compose
  • in aap-gateway/aap-dev run AWX_REPO=/home/sbf/awx HUB_REPO=skip EDA_REPO=skip make dev-up
    • ❗point to your local awx repo
  • in aap-gateway makes sure container-startup.yml has only controller listed in the services
enabled_services:
  - 'controller'

CTRL + C to shut both down

in your awx repo create

docker-compose-overrides.yml

---
services:
  awx_1:
    volumes:
      - "/home/sbf/django-ansible-base/ansible_base/:/var/lib/awx/venv/awx/lib/python3.11/site-packages/ansible_base/"

❗point to your local django-ansible-base repo

in aap-gateway/dev-up create

docker-compose-overrides.yml

---
services:
  gateway1:
    volumes:
      - /home/sbf/django-ansible-base/ansible_base:/opt/aap_gateway/venv/lib/python3.11/site-packages/ansible_base/

❗point to your local django-ansible-base repo

run

in awx

docker compose -f tools/docker-compose/_sources/docker-compose.yml -f docker-compose-overrides.yml up

in aap-gateway

docker compose -f tools/generated/docker-compose.yml -f aap-dev/docker-compose-overrides.yml up

in aap-gateway/aap-dev

make .awx-settings-hack

make changes to django-ansible-base, and restart services

docker exec -ti -u0 tools_awx_1 supervisorctl restart all; docker exec -it -u0 aap_gw_1 supervisorctl restart all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment