How to modify the content in the bottom right corner when publishing as a public web site? #5328

Closed
opened 2026-02-21 18:10:26 -05:00 by yindo · 14 comments
Owner

Originally created by @iray1991 on GitHub (Aug 31, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

How to modify the content in the bottom right corner when publishing as a public web site?
企业微信截图_1725101000657

Originally created by @iray1991 on GitHub (Aug 31, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes How to modify the content in the bottom right corner when publishing as a public web site? <img width="884" alt="企业微信截图_1725101000657" src="https://github.com/user-attachments/assets/5f117f4d-2957-4670-b6f8-e4feb5a82192">
yindo added the 📚 documentation label 2026-02-21 18:10:26 -05:00
yindo closed this issue 2026-02-21 18:10:26 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 31, 2024):

To modify the content in the bottom right corner when publishing as a public website, you need to update the settings related to the embedded chat application. Specifically, you can customize the copyright information, privacy policy, and custom disclaimer, which are displayed on the client side.

Here is the relevant section from the provided document:

{/* copyright */}
<div className={cn(
  isInstalledApp ? 'left-[248px]' : 'left-8',
  'fixed  bottom-4  flex space-x-2 text-gray-400 font-normal text-xs',
)}>
  <div className="">© {siteInfo.copyright || siteInfo.title} {(new Date()).getFullYear()}</div>
  {siteInfo.privacy_policy && (
    <>
      <div>·</div>
      <div>{t('share.chat.privacyPolicyLeft')}
        <a
          className='text-gray-500 px-1'
          href={siteInfo.privacy_policy}
          target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
        {t('share.chat.privacyPolicyRight')}
      </div>
    </>
  )}
</div>

To modify the content, you can update the siteInfo object with your desired text:

  • Copyright: Update the siteInfo.copyright with the name of the author or organization.
  • Privacy Policy: Update the siteInfo.privacy_policy with the link to your privacy policy.

These settings will allow you to customize the content displayed in the bottom right corner of your public website [1][2].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 31, 2024): <!-- Answer --> To modify the content in the bottom right corner when publishing as a public website, you need to update the settings related to the embedded chat application. Specifically, you can customize the copyright information, privacy policy, and custom disclaimer, which are displayed on the client side. Here is the relevant section from the provided document: ```tsx {/* copyright */} <div className={cn( isInstalledApp ? 'left-[248px]' : 'left-8', 'fixed bottom-4 flex space-x-2 text-gray-400 font-normal text-xs', )}> <div className="">© {siteInfo.copyright || siteInfo.title} {(new Date()).getFullYear()}</div> {siteInfo.privacy_policy && ( <> <div>·</div> <div>{t('share.chat.privacyPolicyLeft')} <a className='text-gray-500 px-1' href={siteInfo.privacy_policy} target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> {t('share.chat.privacyPolicyRight')} </div> </> )} </div> ``` To modify the content, you can update the `siteInfo` object with your desired text: - **Copyright**: Update the `siteInfo.copyright` with the name of the author or organization. - **Privacy Policy**: Update the `siteInfo.privacy_policy` with the link to your privacy policy. These settings will allow you to customize the content displayed in the bottom right corner of your public website <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/app-overview.ts)</sup><sup>[[2]](https://github.com/langgenius/dify/blob/main/web/app/components/share/text-generation/index.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@iray1991 commented on GitHub (Aug 31, 2024):

To modify the content in the bottom right corner when publishing as a public website, you need to update the settings related to the embedded chat application. Specifically, you can customize the copyright information, privacy policy, and custom disclaimer, which are displayed on the client side.

Here is the relevant section from the provided document:

{/* copyright */}
<div className={cn(
  isInstalledApp ? 'left-[248px]' : 'left-8',
  'fixed  bottom-4  flex space-x-2 text-gray-400 font-normal text-xs',
)}>
  <div className="">© {siteInfo.copyright || siteInfo.title} {(new Date()).getFullYear()}</div>
  {siteInfo.privacy_policy && (
    <>
      <div>·</div>
      <div>{t('share.chat.privacyPolicyLeft')}
        <a
          className='text-gray-500 px-1'
          href={siteInfo.privacy_policy}
          target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
        {t('share.chat.privacyPolicyRight')}
      </div>
    </>
  )}
</div>

To modify the content, you can update the siteInfo object with your desired text:

  • Copyright: Update the siteInfo.copyright with the name of the author or organization.
  • Privacy Policy: Update the siteInfo.privacy_policy with the link to your privacy policy.

These settings will allow you to customize the content displayed in the bottom right corner of your public website [1][2].

To continue talking to Dosu, mention @dosu.

tried that, but this powed by Dify info seems not changebable in the setting you mentioned

@iray1991 commented on GitHub (Aug 31, 2024): > To modify the content in the bottom right corner when publishing as a public website, you need to update the settings related to the embedded chat application. Specifically, you can customize the copyright information, privacy policy, and custom disclaimer, which are displayed on the client side. > > Here is the relevant section from the provided document: > > ```tsx > {/* copyright */} > <div className={cn( > isInstalledApp ? 'left-[248px]' : 'left-8', > 'fixed bottom-4 flex space-x-2 text-gray-400 font-normal text-xs', > )}> > <div className="">© {siteInfo.copyright || siteInfo.title} {(new Date()).getFullYear()}</div> > {siteInfo.privacy_policy && ( > <> > <div>·</div> > <div>{t('share.chat.privacyPolicyLeft')} > <a > className='text-gray-500 px-1' > href={siteInfo.privacy_policy} > target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> > {t('share.chat.privacyPolicyRight')} > </div> > </> > )} > </div> > ``` > > To modify the content, you can update the `siteInfo` object with your desired text: > > * **Copyright**: Update the `siteInfo.copyright` with the name of the author or organization. > * **Privacy Policy**: Update the `siteInfo.privacy_policy` with the link to your privacy policy. > > These settings will allow you to customize the content displayed in the bottom right corner of your public website [[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/app-overview.ts)[[2]](https://github.com/langgenius/dify/blob/main/web/app/components/share/text-generation/index.tsx). > > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._ tried that, but this powed by Dify info seems not changebable in the setting you mentioned
Author
Owner

@dosubot[bot] commented on GitHub (Aug 31, 2024):

To change the "Powered by Dify" information in the bottom right corner when publishing as a public website, you can look into the webapp section of the web/i18n/it-IT/custom.ts file. Specifically, you can use the removeBrand and changeLogo options to customize or remove the branding.

Here is the relevant part of the code:

const translation = {
  webapp: {
    title: 'Personalizza il marchio WebApp',
    removeBrand: 'Rimuovi Powered by Dify',
    changeLogo: 'Cambia immagine del marchio Powered by',
    changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px',
  },
}

Additionally, if you are using the German localization, you can refer to the web/i18n/de-DE/custom.ts file. Here is the relevant part of the code:

const translation = {
  webapp: {
    title: 'WebApp Marke anpassen',
    removeBrand: 'Entferne Powered by Dify',
    changeLogo: 'Ändere Powered by Markenbild',
    changeLogoTip: 'SVG oder PNG Format mit einer Mindestgröße von 40x40px',
  },
}

For Japanese localization, you can refer to the web/i18n/ja-JP/custom.ts file. Here is the relevant part of the code:

const translation = {
  webapp: {
    title: 'WebAppブランドのカスタマイズ',
    removeBrand: 'Powered by Difyを削除',
    changeLogo: 'Powered byブランド画像を変更',
    changeLogoTip: '最小サイズ40x40pxのSVGまたはPNG形式',
  },
}

You can use the removeBrand option to remove the "Powered by Dify" branding or the changeLogo option to change the logo [1][2][3].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 31, 2024): <!-- Answer --> To change the "Powered by Dify" information in the bottom right corner when publishing as a public website, you can look into the `webapp` section of the `web/i18n/it-IT/custom.ts` file. Specifically, you can use the `removeBrand` and `changeLogo` options to customize or remove the branding. Here is the relevant part of the code: ```ts const translation = { webapp: { title: 'Personalizza il marchio WebApp', removeBrand: 'Rimuovi Powered by Dify', changeLogo: 'Cambia immagine del marchio Powered by', changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px', }, } ``` Additionally, if you are using the German localization, you can refer to the `web/i18n/de-DE/custom.ts` file. Here is the relevant part of the code: ```ts const translation = { webapp: { title: 'WebApp Marke anpassen', removeBrand: 'Entferne Powered by Dify', changeLogo: 'Ändere Powered by Markenbild', changeLogoTip: 'SVG oder PNG Format mit einer Mindestgröße von 40x40px', }, } ``` For Japanese localization, you can refer to the `web/i18n/ja-JP/custom.ts` file. Here is the relevant part of the code: ```ts const translation = { webapp: { title: 'WebAppブランドのカスタマイズ', removeBrand: 'Powered by Difyを削除', changeLogo: 'Powered byブランド画像を変更', changeLogoTip: '最小サイズ40x40pxのSVGまたはPNG形式', }, } ``` You can use the `removeBrand` option to remove the "Powered by Dify" branding or the `changeLogo` option to change the logo <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/custom.ts)</sup><sup>[[2]](https://github.com/langgenius/dify/blob/main/web/i18n/de-DE/custom.ts)</sup><sup>[[3]](https://github.com/langgenius/dify/blob/main/web/i18n/ja-JP/custom.ts)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@iray1991 commented on GitHub (Aug 31, 2024):

web/i18n/it-IT/custom.ts

  • if I am using docker, how can I find the web/i18n/it-IT/custom.ts and remove the "Powered by Dify" branding
@iray1991 commented on GitHub (Aug 31, 2024): > web/i18n/it-IT/custom.ts - if I am using docker, how can I find the web/i18n/it-IT/custom.ts and remove the "Powered by Dify" branding
Author
Owner

@dosubot[bot] commented on GitHub (Aug 31, 2024):

To find the web/i18n/it-IT/custom.ts file and remove the "Powered by Dify" branding in Docker, follow these steps:

  1. Access the Docker container:
    Use the docker exec command to access the Docker container where your application is running.

    docker exec -it <container_id> /bin/sh
    

    Replace <container_id> with the actual ID of your Docker container.

  2. Navigate to the file location:
    Once inside the container, navigate to the directory where the custom.ts file is located. This is typically within the application's directory structure.

    cd /path/to/your/application/web/i18n/it-IT/
    
  3. Edit the custom.ts file:
    Use a text editor available in the container to open and edit the custom.ts file. For example, you can use vi or nano.

    vi custom.ts
    
  4. Remove the "Powered by Dify" branding:
    Locate the line containing removeBrand: 'Rimuovi Powered by Dify' and modify or remove it as needed. Here is the relevant part of the file:

    const translation = {
      custom: 'Personalizzazione',
      upgradeTip: {
        prefix: 'Aggiorna il tuo piano per',
        suffix: 'personalizzare il tuo marchio.',
      },
      webapp: {
        title: 'Personalizza il marchio WebApp',
        removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line
        changeLogo: 'Cambia immagine del marchio Powered by',
        changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px',
      },
      app: {
        title: 'Personalizza l\'intestazione del marchio dell\'app',
        changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px',
      },
      upload: 'Carica',
      uploading: 'Caricamento in corso',
      uploadedFail: 'Caricamento dell\'immagine fallito, per favore ricarica.',
      change: 'Cambia',
      apply: 'Applica',
      restore: 'Ripristina Impostazioni Predefinite',
      customize: {
        contactUs: ' contattaci ',
        prefix:
          'Per personalizzare il logo del marchio all\'interno dell\'app, per favore',
        suffix: 'per aggiornare alla versione Enterprise.',
      },
    }
    
    export default translation
    
  5. Save the changes:
    Save the changes and exit the text editor. For vi, you can do this by pressing Esc, typing :wq, and pressing Enter.

  6. Restart the Docker container:
    Finally, restart the Docker container to apply the changes.

    docker restart <container_id>
    

By following these steps, you can find the web/i18n/it-IT/custom.ts file in your Docker container and remove the "Powered by Dify" branding [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 31, 2024): <!-- Answer --> To find the `web/i18n/it-IT/custom.ts` file and remove the "Powered by Dify" branding in Docker, follow these steps: 1. **Access the Docker container**: Use the `docker exec` command to access the Docker container where your application is running. ```sh docker exec -it <container_id> /bin/sh ``` Replace `<container_id>` with the actual ID of your Docker container. 2. **Navigate to the file location**: Once inside the container, navigate to the directory where the `custom.ts` file is located. This is typically within the application's directory structure. ```sh cd /path/to/your/application/web/i18n/it-IT/ ``` 3. **Edit the `custom.ts` file**: Use a text editor available in the container to open and edit the `custom.ts` file. For example, you can use `vi` or `nano`. ```sh vi custom.ts ``` 4. **Remove the "Powered by Dify" branding**: Locate the line containing `removeBrand: 'Rimuovi Powered by Dify'` and modify or remove it as needed. Here is the relevant part of the file: ```ts const translation = { custom: 'Personalizzazione', upgradeTip: { prefix: 'Aggiorna il tuo piano per', suffix: 'personalizzare il tuo marchio.', }, webapp: { title: 'Personalizza il marchio WebApp', removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line changeLogo: 'Cambia immagine del marchio Powered by', changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px', }, app: { title: 'Personalizza l\'intestazione del marchio dell\'app', changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px', }, upload: 'Carica', uploading: 'Caricamento in corso', uploadedFail: 'Caricamento dell\'immagine fallito, per favore ricarica.', change: 'Cambia', apply: 'Applica', restore: 'Ripristina Impostazioni Predefinite', customize: { contactUs: ' contattaci ', prefix: 'Per personalizzare il logo del marchio all\'interno dell\'app, per favore', suffix: 'per aggiornare alla versione Enterprise.', }, } export default translation ``` 5. **Save the changes**: Save the changes and exit the text editor. For `vi`, you can do this by pressing `Esc`, typing `:wq`, and pressing `Enter`. 6. **Restart the Docker container**: Finally, restart the Docker container to apply the changes. ```sh docker restart <container_id> ``` By following these steps, you can find the `web/i18n/it-IT/custom.ts` file in your Docker container and remove the "Powered by Dify" branding <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/custom.ts)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@iray1991 commented on GitHub (Aug 31, 2024):

To find the web/i18n/it-IT/custom.ts file and remove the "Powered by Dify" branding in Docker, follow these steps:

  1. Access the Docker container:
    Use the docker exec command to access the Docker container where your application is running.

    docker exec -it <container_id> /bin/sh
    

    Replace <container_id> with the actual ID of your Docker container.

  2. Navigate to the file location:
    Once inside the container, navigate to the directory where the custom.ts file is located. This is typically within the application's directory structure.

    cd /path/to/your/application/web/i18n/it-IT/
    
  3. Edit the custom.ts file:
    Use a text editor available in the container to open and edit the custom.ts file. For example, you can use vi or nano.

    vi custom.ts
    
  4. Remove the "Powered by Dify" branding:
    Locate the line containing removeBrand: 'Rimuovi Powered by Dify' and modify or remove it as needed. Here is the relevant part of the file:

    const translation = {
      custom: 'Personalizzazione',
      upgradeTip: {
        prefix: 'Aggiorna il tuo piano per',
        suffix: 'personalizzare il tuo marchio.',
      },
      webapp: {
        title: 'Personalizza il marchio WebApp',
        removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line
        changeLogo: 'Cambia immagine del marchio Powered by',
        changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px',
      },
      app: {
        title: 'Personalizza l\'intestazione del marchio dell\'app',
        changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px',
      },
      upload: 'Carica',
      uploading: 'Caricamento in corso',
      uploadedFail: 'Caricamento dell\'immagine fallito, per favore ricarica.',
      change: 'Cambia',
      apply: 'Applica',
      restore: 'Ripristina Impostazioni Predefinite',
      customize: {
        contactUs: ' contattaci ',
        prefix:
          'Per personalizzare il logo del marchio all\'interno dell\'app, per favore',
        suffix: 'per aggiornare alla versione Enterprise.',
      },
    }
    
    export default translation
    
  5. Save the changes:
    Save the changes and exit the text editor. For vi, you can do this by pressing Esc, typing :wq, and pressing Enter.

  6. Restart the Docker container:
    Finally, restart the Docker container to apply the changes.

    docker restart <container_id>
    

By following these steps, you can find the web/i18n/it-IT/custom.ts file in your Docker container and remove the "Powered by Dify" branding [1].

To continue talking to Dosu, mention @dosu.

which of below should I find the container_id?
image

@iray1991 commented on GitHub (Aug 31, 2024): > To find the `web/i18n/it-IT/custom.ts` file and remove the "Powered by Dify" branding in Docker, follow these steps: > > 1. **Access the Docker container**: > Use the `docker exec` command to access the Docker container where your application is running. > ```shell > docker exec -it <container_id> /bin/sh > ``` > > > > > > > > > > > > Replace `<container_id>` with the actual ID of your Docker container. > 2. **Navigate to the file location**: > Once inside the container, navigate to the directory where the `custom.ts` file is located. This is typically within the application's directory structure. > ```shell > cd /path/to/your/application/web/i18n/it-IT/ > ``` > 3. **Edit the `custom.ts` file**: > Use a text editor available in the container to open and edit the `custom.ts` file. For example, you can use `vi` or `nano`. > ```shell > vi custom.ts > ``` > 4. **Remove the "Powered by Dify" branding**: > Locate the line containing `removeBrand: 'Rimuovi Powered by Dify'` and modify or remove it as needed. Here is the relevant part of the file: > ```ts > const translation = { > custom: 'Personalizzazione', > upgradeTip: { > prefix: 'Aggiorna il tuo piano per', > suffix: 'personalizzare il tuo marchio.', > }, > webapp: { > title: 'Personalizza il marchio WebApp', > removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line > changeLogo: 'Cambia immagine del marchio Powered by', > changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px', > }, > app: { > title: 'Personalizza l\'intestazione del marchio dell\'app', > changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px', > }, > upload: 'Carica', > uploading: 'Caricamento in corso', > uploadedFail: 'Caricamento dell\'immagine fallito, per favore ricarica.', > change: 'Cambia', > apply: 'Applica', > restore: 'Ripristina Impostazioni Predefinite', > customize: { > contactUs: ' contattaci ', > prefix: > 'Per personalizzare il logo del marchio all\'interno dell\'app, per favore', > suffix: 'per aggiornare alla versione Enterprise.', > }, > } > > export default translation > ``` > 5. **Save the changes**: > Save the changes and exit the text editor. For `vi`, you can do this by pressing `Esc`, typing `:wq`, and pressing `Enter`. > 6. **Restart the Docker container**: > Finally, restart the Docker container to apply the changes. > ```shell > docker restart <container_id> > ``` > > By following these steps, you can find the `web/i18n/it-IT/custom.ts` file in your Docker container and remove the "Powered by Dify" branding [[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/custom.ts). > > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._ which of below should I find the container_id? ![image](https://github.com/user-attachments/assets/4982dacb-901a-4aab-b1ba-b7cb594c8181)
Author
Owner

@dosubot[bot] commented on GitHub (Aug 31, 2024):

To find the container_id, look for the container running the dify-web image. The container_id is the alphanumeric string listed in the first column of the Docker container list. Use that ID in the docker exec command to access the container.

For example, if the container_id for dify-web is abc123, you would use:

docker exec -it abc123 /bin/sh

This will give you access to the container where you can navigate to the web/i18n/it-IT/ directory and make the necessary changes.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 31, 2024): <!-- Answer --> To find the `container_id`, look for the container running the `dify-web` image. The `container_id` is the alphanumeric string listed in the first column of the Docker container list. Use that ID in the `docker exec` command to access the container. For example, if the `container_id` for `dify-web` is `abc123`, you would use: ```sh docker exec -it abc123 /bin/sh ``` This will give you access to the container where you can navigate to the `web/i18n/it-IT/` directory and make the necessary changes. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@iray1991 commented on GitHub (Aug 31, 2024):

To find the container_id, look for the container running the dify-web image. The container_id is the alphanumeric string listed in the first column of the Docker container list. Use that ID in the docker exec command to access the container.

For example, if the container_id for dify-web is abc123, you would use:

docker exec -it abc123 /bin/sh

This will give you access to the container where you can navigate to the web/i18n/it-IT/ directory and make the necessary changes.

To continue talking to Dosu, mention @dosu.

how to upgrade dify to 0.7.2 in docker?

@iray1991 commented on GitHub (Aug 31, 2024): > To find the `container_id`, look for the container running the `dify-web` image. The `container_id` is the alphanumeric string listed in the first column of the Docker container list. Use that ID in the `docker exec` command to access the container. > > For example, if the `container_id` for `dify-web` is `abc123`, you would use: > > ```shell > docker exec -it abc123 /bin/sh > ``` > > This will give you access to the container where you can navigate to the `web/i18n/it-IT/` directory and make the necessary changes. > > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._ how to upgrade dify to 0.7.2 in docker?
Author
Owner

@dosubot[bot] commented on GitHub (Aug 31, 2024):

To upgrade Dify to version 0.7.2 in Docker, follow these steps:

  1. Navigate to the docker directory of the Dify source code:

    cd dify/docker
    
  2. Pull the latest changes from the main branch:

    git pull origin main
    
  3. Bring down the currently running containers:

    docker compose down
    
  4. Pull the latest Docker images:

    docker compose pull
    
  5. Start the containers with the updated images:

    docker compose up -d
    
  6. Sync environment variable configurations (important!):

    • If the .env.example file has been updated, make sure to update your local .env file accordingly.
    • Check all configuration items in the .env file to ensure they match your actual running environment. You may need to add new variables from .env.example to your .env file and update any changed values.
  7. Ensure WSL2 is properly configured if you are on Windows:

    • Install WSL2 by running the following command in an administrator CMD:
      wsl --install
      
    • Install Docker Desktop and ensure the Use WSL 2 instead of Hyper-V option is selected during installation.
    • Verify the installation by running:
      wsl -l --verbose
      
  8. Configure CUDA and other dependencies if necessary:

    • Install CUDA from the official website.
    • Set up the environment variables for CUDA in your ~/.bashrc file:
      export LD_LIBRARY_PATH=/usr/local/cuda-12.2/lib64
      export PATH=$PATH:/usr/local/cuda-12.2/lib64
      

Following these steps will ensure that your Dify installation is upgraded to version 0.7.2 and properly configured for your environment [1][2][3].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 31, 2024): <!-- Answer --> To upgrade Dify to version 0.7.2 in Docker, follow these steps: 1. **Navigate to the docker directory of the Dify source code:** ```bash cd dify/docker ``` 2. **Pull the latest changes from the main branch:** ```bash git pull origin main ``` 3. **Bring down the currently running containers:** ```bash docker compose down ``` 4. **Pull the latest Docker images:** ```bash docker compose pull ``` 5. **Start the containers with the updated images:** ```bash docker compose up -d ``` 6. **Sync environment variable configurations (important!):** - If the `.env.example` file has been updated, make sure to update your local `.env` file accordingly. - Check all configuration items in the `.env` file to ensure they match your actual running environment. You may need to add new variables from `.env.example` to your `.env` file and update any changed values. 7. **Ensure WSL2 is properly configured if you are on Windows:** - Install WSL2 by running the following command in an administrator CMD: ```PowerShell wsl --install ``` - Install Docker Desktop and ensure the `Use WSL 2 instead of Hyper-V` option is selected during installation. - Verify the installation by running: ```PowerShell wsl -l --verbose ``` 8. **Configure CUDA and other dependencies if necessary:** - Install CUDA from the [official website](https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_local). - Set up the environment variables for CUDA in your `~/.bashrc` file: ```Bash export LD_LIBRARY_PATH=/usr/local/cuda-12.2/lib64 export PATH=$PATH:/usr/local/cuda-12.2/lib64 ``` Following these steps will ensure that your Dify installation is upgraded to version 0.7.2 and properly configured for your environment <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/getting-started/install-self-hosted/docker-compose.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/getting-started/install-self-hosted/docker-compose.md)</sup><sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/jp/getting-started/install-self-hosted/docker-compose.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Aug 31, 2024):

You need to upgrade account to Pro or Team on cloud.dify.ai. This feature requires paid plan.
If you are using Self Hosted version, remove Logo is prohibited unless you obtain a business license from us, if you would like to obtain that, please react out to business@dify.ai.

@crazywoola commented on GitHub (Aug 31, 2024): You need to upgrade account to Pro or Team on cloud.dify.ai. This feature requires paid plan. If you are using Self Hosted version, remove Logo is prohibited unless you obtain a business license from us, if you would like to obtain that, please react out to business@dify.ai.
Author
Owner

@moymoussan commented on GitHub (Oct 30, 2024):

@crazywoola if i have a pro account in dify cloud but im also self hosting, would i be able to remove the logo from the self hosted as well?

@moymoussan commented on GitHub (Oct 30, 2024): @crazywoola if i have a pro account in dify cloud but im also self hosting, would i be able to remove the logo from the self hosted as well?
Author
Owner

@iray1991 commented on GitHub (Oct 31, 2024):

Dear Mr./Ms. , Thanks for your email. You may have sent to the wrong email Have a great day! Kind Regards TopTalents Group

@iray1991 commented on GitHub (Oct 31, 2024): Dear Mr./Ms. , Thanks for your email. You may have sent to the wrong email Have a great day! Kind Regards TopTalents Group
Author
Owner

@a173030685 commented on GitHub (Mar 17, 2025):

To find the web/i18n/it-IT/custom.ts file and remove the "Powered by Dify" branding in Docker, follow these steps:

  1. Access the Docker container:
    Use the docker exec command to access the Docker container where your application is running.
    docker exec -it <container_id> /bin/sh

    Replace <container_id> with the actual ID of your Docker container.

  2. Navigate to the file location:
    Once inside the container, navigate to the directory where the custom.ts file is located. This is typically within the application's directory structure.
    cd /path/to/your/application/web/i18n/it-IT/

  3. Edit the custom.ts file:
    Use a text editor available in the container to open and edit the custom.ts file. For example, you can use vi or nano.
    vi custom.ts

  4. Remove the "Powered by Dify" branding:
    Locate the line containing removeBrand: 'Rimuovi Powered by Dify' and modify or remove it as needed. Here is the relevant part of the file:
    const translation = {
    custom: 'Personalizzazione',
    upgradeTip: {
    prefix: 'Aggiorna il tuo piano per',
    suffix: 'personalizzare il tuo marchio.',
    },
    webapp: {
    title: 'Personalizza il marchio WebApp',
    removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line
    changeLogo: 'Cambia immagine del marchio Powered by',
    changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px',
    },
    app: {
    title: 'Personalizza l'intestazione del marchio dell'app',
    changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px',
    },
    upload: 'Carica',
    uploading: 'Caricamento in corso',
    uploadedFail: 'Caricamento dell'immagine fallito, per favore ricarica.',
    change: 'Cambia',
    apply: 'Applica',
    restore: 'Ripristina Impostazioni Predefinite',
    customize: {
    contactUs: ' contattaci ',
    prefix:
    'Per personalizzare il logo del marchio all'interno dell'app, per favore',
    suffix: 'per aggiornare alla versione Enterprise.',
    },
    }

    export default translation

  5. Save the changes:
    Save the changes and exit the text editor. For vi, you can do this by pressing Esc, typing :wq, and pressing Enter.

  6. Restart the Docker container:
    Finally, restart the Docker container to apply the changes.
    docker restart <container_id>

By following these steps, you can find the web/i18n/it-IT/custom.ts file in your Docker container and remove the "Powered by Dify" branding [1].

To continue talking to Dosu, mention @dosu.

After making such changes, there is no effect after restarting. @dosubot

@a173030685 commented on GitHub (Mar 17, 2025): > To find the `web/i18n/it-IT/custom.ts` file and remove the "Powered by Dify" branding in Docker, follow these steps: > > 1. **Access the Docker container**: > Use the `docker exec` command to access the Docker container where your application is running. > docker exec -it <container_id> /bin/sh > > > > > > > > > > Replace `<container_id>` with the actual ID of your Docker container. > 2. **Navigate to the file location**: > Once inside the container, navigate to the directory where the `custom.ts` file is located. This is typically within the application's directory structure. > cd /path/to/your/application/web/i18n/it-IT/ > 3. **Edit the `custom.ts` file**: > Use a text editor available in the container to open and edit the `custom.ts` file. For example, you can use `vi` or `nano`. > vi custom.ts > 4. **Remove the "Powered by Dify" branding**: > Locate the line containing `removeBrand: 'Rimuovi Powered by Dify'` and modify or remove it as needed. Here is the relevant part of the file: > const translation = { > custom: 'Personalizzazione', > upgradeTip: { > prefix: 'Aggiorna il tuo piano per', > suffix: 'personalizzare il tuo marchio.', > }, > webapp: { > title: 'Personalizza il marchio WebApp', > removeBrand: 'Rimuovi Powered by Dify', // Modify or remove this line > changeLogo: 'Cambia immagine del marchio Powered by', > changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 40x40px', > }, > app: { > title: 'Personalizza l\'intestazione del marchio dell\'app', > changeLogoTip: 'Formato SVG o PNG con una dimensione minima di 80x80px', > }, > upload: 'Carica', > uploading: 'Caricamento in corso', > uploadedFail: 'Caricamento dell\'immagine fallito, per favore ricarica.', > change: 'Cambia', > apply: 'Applica', > restore: 'Ripristina Impostazioni Predefinite', > customize: { > contactUs: ' contattaci ', > prefix: > 'Per personalizzare il logo del marchio all\'interno dell\'app, per favore', > suffix: 'per aggiornare alla versione Enterprise.', > }, > } > > export default translation > 5. **Save the changes**: > Save the changes and exit the text editor. For `vi`, you can do this by pressing `Esc`, typing `:wq`, and pressing `Enter`. > 6. **Restart the Docker container**: > Finally, restart the Docker container to apply the changes. > docker restart <container_id> > > By following these steps, you can find the `web/i18n/it-IT/custom.ts` file in your Docker container and remove the "Powered by Dify" branding [[1]](https://github.com/langgenius/dify/blob/main/web/i18n/it-IT/custom.ts). > > _To continue talking to [Dosu](https://dosu.dev), mention [@dosu](https://github.com/dosu)._ After making such changes, there is no effect after restarting. @dosubot
Author
Owner

@dosubot[bot] commented on GitHub (Mar 17, 2025):

Removing the "Powered by Dify" branding in the self-hosted version is prohibited unless you obtain a business license from Dify. Even if you have a Pro account on Dify Cloud, it does not grant you the right to remove the branding from the self-hosted version. If you wish to remove the branding legally, you need to contact Dify at business@dify.ai to obtain the necessary business license [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 17, 2025): <!-- Answer --> Removing the "Powered by Dify" branding in the self-hosted version is prohibited unless you obtain a business license from Dify. Even if you have a Pro account on Dify Cloud, it does not grant you the right to remove the branding from the self-hosted version. If you wish to remove the branding legally, you need to contact Dify at business@dify.ai to obtain the necessary business license <sup>[[1]](https://github.com/langgenius/dify/issues/14109)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/690793f3-b75a-467f-a28d-032015cd4b1d?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5328