Versions Compared

Key

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

Prepare the deployment file

Edit the docker-compose.yml located in the <Environment> folder:

Change the image version tag: vn.n.n-win-1809 to the new version. e.g. change from v7.1.1-win-1809 to v7.13.20-win-1809

The image version need to be changed for these services:

  • rolemanager

  • onelistserver

  • comms

  • diagnostic

  • onelist

  • theme

  • emailapproval (if applicable)

Add the following 3 configurations under the environment section of rolemanager, onelistserver, comms, diagnostic and emailapproval (if applicable) services.

Localization:DefaultTimeZone: ${default_timezone}
Localization:DefaultCulture: ${default_culture}
Localization:SupportedCultures:0: ${default_culture}

Add the following configuration under the environment section of onelist, rolemanager, onelistserver, comms, diagnostic services.

ContentSecurityPolicy: "default-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'none'; script-src 'self' https://cdnjs.cloudflare.com; img-src 'self' data:;"

For example:

...

Add the following CORS configuration under the environment section of comms, onelistserver and rolemanager sections.

CORS__Origins__0: chrome-extension://ckngfnnoeddfgdegbgbanbichklmmjkk

CORS__Origins__1: chrome-extension://bbdaecjmdjjodppgejiojechlnnabhmm

Prepare the .env file

Edit the .env file located in the <Environment> folder:

Append the following 2 lines to the .env file.

default_timezone=<default timezone>
default_culture=<default culture>

Replace <default timezone> and <default culture> with the proper value.

Save the ".env" file.

Replace the web.config file of OneList site

Download theweb.configfile.

Open IIS, right-click the OneList site and click “Explore“. In the folder, replace the web.config file with the downloaded file.

Download the updated image and restart OneList application

...