The license file may be provided to the Docker image via three methods:
- As a file, mounted at /license.json or /mnt/secrets/license.json
- As the contents of the environment variable LICENSE
- As a URL resource that will download on container startup via LICENSE_URL
Example of mounting a license file from host to docker.
version: '3' services: lenses: image: "lensesio/lenses:4.0" container_name: "lenses" ports: - 9991:9991 volumes: - /path/in/host/license.json:/mnt/secrets/license.json