Versions Compared

Key

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

When using containers, the installation process for modules requires a different approach. DAM for Sitecore Docker images have been built using the recommended format for Sitecore Docker modules, and follow the same structure as other asset type images (e.g. SXA, SPE). The docker image can be found here Docker - DAM for Sitecore. The docker image is compatible with the following Sitecore versions.

Sitecore

Alias

DFS 11.0.0

Sitecore Experience Platform 10.3 (Sitecore 10.3.1

.0

rev. 009452)

10.3 U1

Image Added

Sitecore Experience Platform 10.3 (Sitecore 10.3.0 rev. 008463)

10.3

Image Modified

Sitecore Experience Platform 10.2 (Sitecore 10.2.0 rev. 006766)

10.2

Image Modified

Sitecore Experience Platform 10.1 Update 1 (Sitecore 10.1.1 rev. 005862)

10.1 U1

Image Modified

Sitecore Experience Platform 10.0 Update 1 (Sitecore 10.0.1 rev. 004842)

10.0 U1

Image Modified

Sitecore Experience Platform 10.0 Initial Release (Sitecore 10.0 rev. 004346)

10.0

Image Modified

Testing the image

The docker image has been tested with the Sitecore’s custom-images site from their docker-examples repo, which runs Sitecore 10.3. In the following we will describe how we installed the module as part of the docker containers.

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

    Image RemovedImage 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:1011.10.0 to mssql-init

    Image RemovedImage 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 10.1.0 - 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.

    The DAM for Sitecore module comes with 2 custom solr indexes named dfs_assets_master_index and dfs_assets_web_index. We used this guide https://sitecore.namics.com/custom-solr-indexes-and-config-sets-in-sitecore-docker-containers/ .
    In the guide under the section Provide custom configs sets. You need to provide the config set for your custom cores. We took the config set from a running Sitecore 10.3, solr instance.

    Image Removed

    Now spin up the docker container docker-compose up -d.
    If everything works as expected, then go to the solr UI and add a dynamic field to the 2 custom dfs index.
    Name: *_lc and field type: lowercase. See below.

    Image Removed

    Open Sitecore CM and go to control panel -> Populate Solr Managed Schema. Select the index dfs_assets_master_index and populate.

  6. Now you can continue with the standard installation DFS 10.1.0 - 5 Synchronize Silo

...