AWX Logo Change Procedure
docker run -it ansible/awx:16.0.0 bash
docker> find /var -name logo-login.svg
File Location inside container:
-> Main Login Page logo [158x93]:
/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ui_next/build/static/media/logo-login.svg
-> After login / top menu logo [158x93]:
/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ui_next/build/static/media/logo-header.svg
mkdir /root/.awx/awxcompose/logo
wget https://raw.githubusercontent.com/azdolinski/awx-logo-change/main/img/ansiblelogo.png -O /root/.awx/awxcompose/logo/ansiblelogo.png
wget https://raw.githubusercontent.com/azdolinski/awx-logo-change/main/img/dot.png -O /root/.awx/awxcompose/logo/dot.png
Edit:
/root/.awx/awxcompose/docker-compose.yml
Add volumes to awx_web:
- "/root/.awx/awxcompose/logo/ansiblelogo.png:/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ui_next/build/static/media/logo-header.svg:ro"
- "/root/.awx/awxcompose/logo/dot.png:/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ui_next/build/static/media/logo-login.svg:ro"
cd /root/.awx/awxcompose/
docker-compose down
docker-compose up -d --build
wget https://raw.githubusercontent.com/azdolinski/awx-logo-change/main/img/ansiblelogo2.png -O /root/.awx/awxcompose/logo/ansiblelogo2.png