Lease Tool (8.0)
The Leasetool application can be deployed using a single container image. It utilizes SQL Server as its database
- Image Name : planvisage.azurecr.io/leasetool
- Container Registry: planvisage.azurecr.io
The Leasetool application can be configured using the following environment variables:
Environment variables
1. ACR_USERNAME Azure container registry user name
2. ACR_PASSWORD Azure container registry password
3. APP_VERSION Application Version (Image Tag)
4. TIME_ZONE=Asia/Kolkata Application Time Zone
5. LOG_TARGET=FILE Log file target Type FILE/BLOB/MEMORY (Optional)
6. BLOB_CONNECTSTR For Azure Blob Storage, provide the connection string (Optional)
7. DB_CONNECTSTR Database Connection String ( SQL Server)
8. LICENSE_KEY=abcd-efgh-1234-4568 License Key
9. LICENSE_NAME=companyname Comapny Name
10. LICENSE_EMAIL=email@comapnyname.com Email id using to register license
Docker Compose File
version: '3.9'
name: 'leasetool'
services:
leasetool:
image: planvisage.azurecr.io/leasetool:${APP_VERSION}
pull_policy: always
hostname: leasetool
ports:
- "8080:8080"
volumes:
- ./PvWebApp/log/:/app/wwwroot/log/
- ./PvWebApp/xml/:/app/wwwroot/xml/
environment:
- AZURE_REGISTRY_USERNAME=${ACR_USERNAME} # Azure container registry user name
- AZURE_REGISTRY_PASSWORD=${ACR_PASSWORD} # Azure Registry Password
- TZ=${TIME_ZONE} #Change time zone value to change the container time zone
- LOG_TARGET=${LOG_TARGET}
- BLOB_CONNECTSTR=${BLOB_CONNECTSTR} #Blob connection string
- DB_CONNECTSTR=${DB_CONNECTSTR} # Database connection string
- LICENSE_KEY=${LICENSE_KEY} # License Key
- LICENSE_NAME=${LICENSE_NAME} # Company Name for License key
- LICENSE_EMAIL=${LICENSE_EMAIL} # Email Id used to register license
networks:
- pv-network
command: mkdir /wwwroot/data/import/
networks:
pv-network:
Blob Connection String Format
DefaultEndpointsProtocol=https;AccountName=##accountName##;AccountKey=##accountKey##;EndpointSuffix=core.windows.net