You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ When completed then...
69
69
1. Run `Set-LicenseEnvironmentVariable.ps1 -Path C:\license\license.xml` (use the `PersistForCurrentUser` switch to persist the license for future sessions). This will gzip and base64 encode the license file content and save it in `$env:SITECORE_LICENSE`.
70
70
1. Switch directory to `.\windows\tests\9.3.x\` and then run any of the docker-compose files, for example an XM with: `docker-compose --file .\docker-compose.xm.yml up`
71
71
72
+
9.3 docker images still supports mounting the license file inside the container, if for some reason you need to use this method please see [License file volume mount configuration for 9.3 docker images](#license-file-volume-mount-configuration-for-9.3-docker-images)
73
+
72
74
**For Sitecore 9.2.x:**
73
75
74
76
1. Place your Sitecore license file at `C:\license\license.xml`, or override location using the environment variable `LICENSE_PATH` like so: `$env:LICENSE_PATH="D:\my\sitecore\licenses"`
### License file volume mount configuration for 9.3 docker images
257
+
258
+
If you've been using the license file mounted approach in 9.2 docker images, you can still continue using the same approach in 9.3 docker images. Follow these steps
259
+
260
+
1. Place your Sitecore license file at `C:\license\license.xml`, or override location using the environment variable `LICENSE_PATH` like so: `$env:LICENSE_PATH="D:\my\sitecore\licenses"`
261
+
1. Switch directory to `.\windows\tests\9.3.x\` and then run any of the docker-compose files, for example an XM with: `docker-compose --file .\docker-compose.xm.yml up` after the docker compose file has been updated following the instruction below
262
+
263
+
#### For cm and cd
264
+
1. Add a new volume mount configuration using the environment variable `LICENSE_PATH` to a folder inside the container, for example `C:\license`
265
+
1. Add a new environment variable `SITECORE_LICENSE_LOCATION` that point to the license file path inside the container, for example: `C:\license\license.xml`
266
+
267
+
```
268
+
cm:
269
+
environment:
270
+
SITECORE_LICENSE_LOCATION: C:\license\license.xml
271
+
volumes:
272
+
- ${LICENSE_PATH}:C:\license
273
+
```
274
+
275
+
#### For xconnect, xconnect-automationengine, xconnect-indexworker, xconnect-processingengine
276
+
1. Add a new volume mount configuration using the environment variable `LICENSE_PATH` to a folder inside the container, for example `C:\license`
277
+
1. Add a new environment variable `SITECORE_LICENSE_LOCATION` that point to the license file folder path inside the container, for example: `C:\license`
278
+
279
+
```
280
+
xconnect:
281
+
environment:
282
+
SITECORE_LICENSE_LOCATION: C:\license
283
+
volumes:
284
+
- ${LICENSE_PATH}:C:\license
285
+
```
286
+
254
287
## Cleanup
255
288
256
289
Its recommended to clean up you Docker engine hosts (developer workstations, build agents etc.) regularly.
0 commit comments