FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Favicon

    Scheduled Pinned Locked Moved
    General Discussion
    3
    5
    3.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dmitry.karpik
      last edited by

      Hello,
      Is it possible to change favicon in Fusion Docker?

      Thanks.

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @dmitry.karpik
        last edited by

        @dmitry-karpik If you have a proxy in front of FusionAuth, you should be able to change it just by doing a rewrite of /favicon.ico

        Otherwise I'd look at the docker filesystem and find where the favicon.ico is stored and then create a derivative image with that favicon replaced.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • D
          dmitry.karpik
          last edited by

          Thank you. Great idea.

          1 Reply Last reply Reply Quote 0
          • K
            kasir-barati
            last edited by

            Hi, I came across this. I guess for prod we will have some sort of proxy in front of our NextJS but just out of curiosity and also love to see it in my local dockerized FusionAuth I dug for like 15 min and find out we have quite a lot of fav icons in FusionAuth container, so will you help me to figure it out which one is it?

            • /usr/local/fusionauth/fusionauth-app/web/static/favicon.png
            • /usr/local/fusionauth/fusionauth-app/web/static/images/
              • favicon-128.png
              • favicon-16x16.png
              • favicon-32x32.png
              • favicon-96x96.png

            Or maybe all of them?

            Have any idea @dan @dmitry-karpik?

            K 1 Reply Last reply Reply Quote 0
            • K
              kasir-barati @kasir-barati
              last edited by kasir-barati

              I found out that these are the ones I need to map, although when I mapped only favicon-128.png
              it worked as well, so not sure completely but to some extends I know that these are the ones we need to map:

              /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-128.png
              /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-16x16.png
              /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-32x32.png
              /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-96x96.png
              

              But IDK exactly what /usr/local/fusionauth/fusionauth-app/web/static/favicon.png is being used for. Anyhow, I've decided to ignore it for the time being and later (if something happened) maybe will change my mind 😄.

              Dockerfile for those who might be also interested in my FusionAuth version

              FROM fusionauth/fusionauth-app:1.45.3
              
              USER root
              
              # Install curl
              RUN apt-get update && \
                  apt-get install -y curl && \
                  rm -rf /var/lib/apt/lists/*
              
              USER fusionauth
              
              COPY ./apps/frontend/public/favicon.ico /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-128.png
              COPY ./apps/frontend/public/favicon.ico /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-16x16.png
              COPY ./apps/frontend/public/favicon.ico /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-32x32.png
              COPY ./apps/frontend/public/favicon.ico /usr/local/fusionauth/fusionauth-app/web/static/images/favicon-96x96.png
              

              For more details look at my repo & give it a ⭐ if you found it useful.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post