You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/10/07 13:17:20 UTC
[GitHub] [superset] julemole opened a new issue, #21736: How can I change the logo? I am using docker compose
julemole opened a new issue, #21736:
URL: https://github.com/apache/superset/issues/21736
I would like you to help me to change the superset logo, it is my first time using containers and I don't know how to change the logo. I've been searching and they say that with the container id you can change it. What happens is that I run superset with docker compose and apparently there are several ID and I have placed several and I get error. I appreciate if you can help me with this problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "pranoy-ebiw (via GitHub)" <gi...@apache.org>.
pranoy-ebiw commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2750474771
Hello guys,
After 2-3 days of trying and trying - I fixed this. I did the following steps:
1. You can keep your logo and favicon in a folder (for me this is tobe_copied - you can give any name) at Project _root (not Docker _root) folder.
2. Then write this command: COPY --chown=superset:superset tobe_copied /app/superset/static/assets/images in Dockerfile (for me this is around line 80)
3. in superset_config.py write below (docker\pythonpath_dev\superset_config.py - for me line no - 95)
APP_NAME = "Dashboard name"
APP_ICON = "/static/assets/images/your_logo.png"
FAVICONS = [{"href": "/static/assets/images/your_favicon.png"}]
LOGO_TARGET_PATH = '/'
LOGO_TOOLTIP = "Some Dashboard"
4. Run docker build -t your_new_img_name .
5. Change in docker-compose-non-dev.yaml file
x-superset-image: &superset-image your_new_img_name:latest
6. Run docker compose -f docker-compose-non-dev.yaml file up -d
Enjoy. Good Luck.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "mickymrt (via GitHub)" <gi...@apache.org>.
mickymrt commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2076046706
Hi
I'm new to superset, trying to customize the log as well in docker deployment but having the same issue. Followed the steps above and also as per this link https://www.coursebytes.dev/superset/
I have copied
`:~/superset$ ll superset-frontend/src/assets/images/ki-nav-brand.png
-rw-rw-r-- 1 3571 Apr 18 22:13 superset-frontend/src/assets/images/ki-nav-brand.png
`
updated docker/pythonpath_dev/superset_config_docker.py to include
APP_ICON = "static/assets/images/ki-nav-brand.png"
restarted superset, but he image is broken
This is very frustrating!
Even tried to replace the superset-logo-horiz.png with ki-nav-brand.png but that didn't work either.
APP_NAME = and LOGO_TOOLTIP = settings take affect ok

please assist!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2062596842
Hi all! Thanks to those who have provided all the helpful context. I'm going to close this since it's not a bug, but feel free to continue the thread as needed, or we can move it to a GitHub discussion if that's needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "skp163 (via GitHub)" <gi...@apache.org>.
skp163 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1843283438
Not working for me. The logo is not loading on the app. Print screen attached.
<img width="658" alt="Screenshot 2023-12-06 at 10 20 32 PM" src="https://github.com/apache/superset/assets/42870102/30ae597d-84a4-495b-b511-bb7fab830782">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "skp163 (via GitHub)" <gi...@apache.org>.
skp163 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1878292268
Hy, Anyone can help me on this logo change? why it is not loading. Only showing the App name
> Not working for me. The logo is not loading on the app. Print screen attached. <img alt="Screenshot 2023-12-06 at 10 20 32 PM" width="658" src="https://private-user-images.githubusercontent.com/42870102/288484463-30ae597d-84a4-495b-b511-bb7fab830782.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQ0NDI5NDQsIm5iZiI6MTcwNDQ0MjY0NCwicGF0aCI6Ii80Mjg3MDEwMi8yODg0ODQ0NjMtMzBhZTU5N2QtODRhNC00OTViLWI1MTEtYmI3ZmFiODMwNzgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTA1VDA4MTcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwYTcxMmVmYWRhOWZhMzUxODQ3OTU0YjUyMWQ5OTljN2FiNThlNDc5YTQyMTNlOWQyMjE1NTA3YjRjMWI5NDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.aOI19CO_vBOUtM3WxmH5HZwsMXdZ2U3679kKSXLZz8s">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "VinhNguyenonthecloud (via GitHub)" <gi...@apache.org>.
VinhNguyenonthecloud commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2119164865
> u need to copy your image by "docker cp ki-nav-brand.png superset_app:/app/superset/static/assets/images and then update docker/pythonpath_dev/superset_config_docker.py include APP_ICON = "/static/assets/images/ki-nav-brand.png" then docker-compose end, docker-compose start or docker-compose restart
I can change the logo but the favicon doesn't work:
I use this code in superset_config.py file: FAVICONS = [{"href": "static/assets/images/favicon.png"}]
and run: docker cp favicon.png superset_app:/app/superset/static/assets/images
but nothing happen.

I don't know why.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "pranoy-ebiw (via GitHub)" <gi...@apache.org>.
pranoy-ebiw commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2750394756
> Hey people, I manage to change the icon and the favicon (in my case docker) setting this in `docker-compose`
>
> ```
> volumes:
> - ./superset/superset_config.py:/app/superset_config.py
> - ./superset/logo.png:/app/superset/static/assets/images/logo.png
> - ./superset/logo.png:/app/superset/static/assets/images/favicon.png
> ```
>
> In my docker I see that superset is under /app and cheking the web of superset I saw that is getting the resources from /static/assets/.... 
>
> So, changing the content of `superset_config.py` to this:
>
> ```
> # Visual Customizations
> APP_NAME = <YOUR_APP_NAME>
> APP_ICON="/static/assets/images/logo.png"
> APP_ICON_WIDTH = 200
> LOGO_TARGET_PATH = '/'
> LOGO_TOOLTIP = <LOGO_TOOLTIP_TEXT>
> ```
>
> solved my problem!
>
> Good luck!
Hi Buddy,
I am new to this and stuck for 2-3 days - no success. Can you pls tell me in which position (approx line nos) that we need to change these in docker-compose-non-dev.yaml file. Many thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "jfsaenzr (via GitHub)" <gi...@apache.org>.
jfsaenzr commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-3558718491
La solucion es:
1. copiar la imagen dentro del docker, en este caso tengo el logo en mi pc en la carpeta descargas con este comando:
docker cp "C:\Users\ aqui va el nombre usuario del pc \Downloads\logo.png" superset_app:/app/superset/static/assets/images/
2. Despues pegar este codigo en el archivo "superset_config.py" al final.
APP_NAME = "Logo"
APP_ICON = "/static/assets/images/logo.png"
LOGO_ICON = "/static/assets/images/logo.png"
FAVICONS = [{"href": "/static/assets/images/logo.png"}]
3. por ultimo ejecutar este comando:
docker restart superset_app
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] julemole commented on issue #21736: How can I change the logo? I am using docker compose
Posted by GitBox <gi...@apache.org>.
julemole commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1272162926
>
I had already made those changes, but it turns out that I was running it in non-dev mode, but now when I do the docker-compose up command it doesn't run, I don't get some kind of error either, so I don't know how to fix this. I already deleted and cloned the repository and it doesn't load, it only works in non-dev mode.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "skp163 (via GitHub)" <gi...@apache.org>.
skp163 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1844195720
@prononext I just added these 2 lines of code in superset_config.py .
APP_NAME = "Superset"
APP_ICON = "https://yourdomain.com/logo.png"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "skp163 (via GitHub)" <gi...@apache.org>.
skp163 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1778586928
> APP_ICON=/static/assets/images/logo.png
Same issue for me as well
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "LudvigJuelsson (via GitHub)" <gi...@apache.org>.
LudvigJuelsson commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2233206430
For me, adding these two lines to the superset_config file worked:
APP_ICON="<image_url.svg>"
SUPERSET_LOGO_TARGET_PATH="<image_url.svg>"
Both of them using the same .svg image URL path
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "AHAn555 (via GitHub)" <gi...@apache.org>.
AHAn555 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2076372733
> Hi I'm new to superset, trying to customize the log as well in docker deployment but having the same issue. Followed the steps above and also as per this link https://www.coursebytes.dev/superset/ I have copied `:~/superset$ ll superset-frontend/src/assets/images/ki-nav-brand.png -rw-rw-r-- 1 3571 Apr 18 22:13 superset-frontend/src/assets/images/ki-nav-brand.png ` updated docker/pythonpath_dev/superset_config_docker.py to include APP_ICON = "/static/assets/images/ki-nav-brand.png" restarted superset, but he image is broken This is very frustrating! Even tried to replace the superset-logo-horiz.png with ki-nav-brand.png but that didn't work either. APP_NAME = and LOGO_TOOLTIP = settings take affect ok 
>
> I'm using nginx-proxy if that helps. I see these errors when loading `nginx-proxy-1 | nginx.1 | <examplename>.org 10.6.120.143 - - [24/Apr/2024:23:34:21 +0000] "GET /static/appbuilder/css/fontawesome/solid.min.css HTTP/2.0" 200 319 "https://<examplename>.org/login/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "172.18.0.6:8088" superset_app | 172.18.0.4 - - [24/Apr/2024:23:34:21 +0000] "GET /static/appbuilder/css/ab.css HTTP/1.1" 200 294 "https://<examplename>.org/login/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" superset_app | 172.18.0.4 - - [24/Apr/2024:23:34:21 +0000] "GET /static/appbuilder/css/fontawesome/solid.min.css HTTP/1.1" 200 319 "https://<examplename>.org/login/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" superset_app | HTTPException superset_app | Traceback
(most recent call last): superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request superset_app | rv = self.dispatch_request() superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1788, in dispatch_request superset_app | self.raise_routing_exception(req) superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1770, in raise_routing_exception superset_app | raise request.routing_exception # type: ignore superset_app | File "/usr/local/lib/python3.10/site-packages/flask/ctx.py", line 351, in match_request superset_app | result = self.url_adapter.match(return_rule=True) # type: ignore superset_app | File "/usr/local/lib/python3.10/site-packages/werkzeug/routing/map.py", line 652, in match superset_app | raise NotFound() from None superset_app | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check
your spelling and try again. superset_app | 2024-04-24 23:34:21,140:WARNING:superset.views.base:HTTPException superset_app | Traceback (most recent call last): superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request superset_app | rv = self.dispatch_request() superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1788, in dispatch_request superset_app | self.raise_routing_exception(req) superset_app | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1770, in raise_routing_exception superset_app | raise request.routing_exception # type: ignore superset_app | File "/usr/local/lib/python3.10/site-packages/flask/ctx.py", line 351, in match_request superset_app | result = self.url_adapter.match(return_rule=True) # type: ignore superset_app | File "/usr/local/lib/python3.10/site-packages/werkzeug/routing/map.py", line 652, in match superset_app | raise NotFound() from None superset_app | wer
kzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. ` please assist!
u need to copy your image by "docker cp ki-nav-brand.png superset_app:/app/superset/static/assets/images
and then update docker/pythonpath_dev/superset_config_docker.py
include
APP_ICON = "/static/assets/images/ki-nav-brand.png"
then docker-compose end, docker-compose start
or docker-compose restart
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "prononext (via GitHub)" <gi...@apache.org>.
prononext commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1843448411
@skp163 what did you do exactly now? your result looks positive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-3207535164
<!-- Answer -->
The most future-proof way to customize logos and favicons in Superset (especially in Docker or venv setups) is to place your custom image files in the static assets directory where Superset expects them: `/app/superset/static/assets/images` for Docker, or the equivalent `superset/static/assets/images/` inside your Python package install location for venv/system installs. Then, reference these files in your `superset_config.py` using the correct URL (e.g., `/static/assets/images/your_logo.png` for `APP_ICON` and `FAVICONS`). Restart Superset after making changes.
If you use a virtual environment, be aware that the static asset path may change with Python upgrades (e.g., `/app/.venv/lib/python3.10/site-packages/superset/static/assets/images/`). Always confirm the path after upgrades and redeploy your custom files if needed.
Current documentation does not cover this process or troubleshooting for asset placement, which leads to confusion. It would be helpful to add a dedicated section to the docs (ideally in the deployment or customization guides) explaining:
- How Superset serves static assets and how to locate the correct directory for your environment.
- Step-by-step instructions for Docker and venv installs.
- Common pitfalls (e.g., broken images if the file isn't present, issues after Python upgrades).
- The need to restart/rebuild after changes.
This would save users a lot of time and make branding changes much more reliable across upgrades and environments.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/98b404e2-d2f2-4b72-9686-7c7e1baf12f0?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/21736)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "nkudupudi (via GitHub)" <gi...@apache.org>.
nkudupudi commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2365209540
> For me, adding these two lines to the superset_config file worked: APP_ICON="<image_url.svg>" SUPERSET_LOGO_TARGET_PATH="<image_url.svg>" Both of them using the same .svg image URL path. Using k8s.
are those web urls ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "prononext (via GitHub)" <gi...@apache.org>.
prononext commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1843197445
Is there any way to set that in the compose file directly as env instead editing the superset_config.py?
**I have tried:**
- SUPERSET_APP_NAME=superset
- SUPERSET_APP_ICON=https://mylogodomain.com/logo.png
- SUPERSET_LOGO_TARGET_PATH=/
- SUPERSET_LOGO_TOOLTIP=My Custom Tooltip
and
- APP_NAME=superset
- APP_ICON=https://mylogodomain.com/logo.png
- LOGO_TARGET_PATH=/
- LOGO_TOOLTIP=My Custom Tooltip
sadly no success. Would be nice if there would be any solution, that works seemless with docker.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "mickymrt (via GitHub)" <gi...@apache.org>.
mickymrt commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2076410250
thanks heaps that works! :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "Rogermax (via GitHub)" <gi...@apache.org>.
Rogermax commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1924938079
Hey people,
I manage to change the icon and the favicon (in my case docker) setting this in `docker-compose`
```
volumes:
- ./superset/superset_config.py:/app/superset_config.py
- ./superset/logo.png:/app/superset/static/assets/images/logo.png
- ./superset/logo.png:/app/superset/static/assets/images/favicon.png
```
In my docker I see that superset is under /app and cheking the web of superset I saw that is getting the resources from /static/assets/....

So, changing the content of `superset_config.py` to this:
```
# Visual Customizations
APP_NAME = <YOUR_APP_NAME>
APP_ICON="/static/assets/images/logo.png"
APP_ICON_WIDTH = 200
LOGO_TARGET_PATH = '/'
LOGO_TOOLTIP = <LOGO_TOOLTIP_TEXT>
```
solved my problem!
Good luck!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-3207519989
@ldsalomone I'm hesitant to open a years-old issue, but appreciate your sharing of findings here. It helps both our bots and our humans ;)
That sounds like a fine approach for now, but maybe @dosu can provide some additional details about how to make this more future-proof, or how/where we should update our docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] aakashkumarmaple commented on issue #21736: How can I change the logo? I am using docker compose
Posted by GitBox <gi...@apache.org>.
aakashkumarmaple commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1271977123
You need to change the icon from the superset frontend file and rebuild it. This is one of the way i can think off
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] romulo-brito commented on issue #21736: How can I change the logo? I am using docker compose
Posted by GitBox <gi...@apache.org>.
romulo-brito commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1272160027
Add your logo file to `static/assets/images`
And in the `docker/superset_config.py` file add a line with
`APP_ICON=/static/assets/images/logo.png`
Then you need to `docker compose up` again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] julemole commented on issue #21736: How can I change the logo? I am using docker compose
Posted by GitBox <gi...@apache.org>.
julemole commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1272062147
>
I already did it and it didn't work, and I can't find a way to do it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "ldsalomone (via GitHub)" <gi...@apache.org>.
ldsalomone commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-3206922259
I'm gonna share what worked for me & hopefully they re-open the issue because it would be good to hear from the Devs (@rusackas ?) on the ideal behavior.
I did all of the above to no avail until I realized superset was launching from a venv. I don't really know when the venv instantiates but for some reason it wasn't bringing in the files with just a regular COPY in the Dockerfile..
```
# Copy custom assets directly to venv static directory
COPY docker/assets/images/ /app/.venv/lib/python3.10/site-packages/superset/static/assets/images/
```
I'm not sure how this will handle future cases if the python version changes or whatnot, but it's the only thing that worked for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #21736: How can I change the logo? I am using docker compose
URL: https://github.com/apache/superset/issues/21736
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "AHAn555 (via GitHub)" <gi...@apache.org>.
AHAn555 commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-2060910451
u need to change place your png file in docker container (superset_app:/app/superset/static/assets/images)
thats worked for me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How can I change the logo? I am using docker compose [superset]
Posted by "git4rb (via GitHub)" <gi...@apache.org>.
git4rb commented on issue #21736:
URL: https://github.com/apache/superset/issues/21736#issuecomment-1813983175
Achieved the task successfully. I am currently running in non-dev mode with Dockerized Superset version 3.0.1. Simply add the following lines in 'superset_config.py
```
## Change the app icon using a CDN
APP_ICON = "https://yourdomain.com/logo.png"
## Change the logo
FAVICONS = [{"href": "https://yourdomain.com/favicon.png"}]
```
For any other configurations, obtain the key-value pairs from the file 'superset/config.py' inside the Docker container and modify accordingly, play with that. Hope this helps.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org