Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open docker-examples/custom-images/docker-compose.override.yml and add the image digizuiternd/dfs:11.01.0 to cm.

    Image Removedimage-20240625-085046.pngImage Added

  2. Open docker-examples/custom-images/docker/build/cm/Dockerfile and add the folowing.

  3. Open docker-examples/custom-images/docker-compose.override.yml and add the image digizuiternd/dfs:11.01.0 to mssql-init

    Image Removedimage-20240625-085224.pngImage Added

  4. Open docker-examples/custom-images/docker/build/mssql-init/Dockerfile and add the folowing.

  5. Add dynamic configuration + transform the web.config.
    To add the dfs patch configuration file (DFS 11.1 - 3 Setting up Sitecore ), go to the folder custom-images/docker/deploy/website.
    Create the folder path App_Config\Include\damforsitecore. Here you place the DFS config patch file.

    When testing we found the we also needed to change the SecurityPolicy.

    Code Block
    <?xml version="1.0" encoding="utf-8"?>
    <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> 
      <sitecore>
        <settings>
    		<setting name="Sitecore.Services.SecurityPolicy">
    			<patch:attribute name="value" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure" />
    		</setting>
    	</settings>
      </sitecore>
    </configuration>


    Next, we want to add the DFS media handler to the web.config. Open custom-images/docker/build/cm/transforms/Web.config.xdt and add this.

...