99 Mode for persistance of the history, allowed values are 'None', 'Database', and 'Json'. Default is 'None'
1010. PARAMETER Registry
1111 The docker registry for the image, default is 'docker.io/ramoy/'
12+ . PARAMETER DbServer
13+ Hostname or IP Address of the database server, default is 'localhost'
1214. PARAMETER DbName
1315 Name of the database that will be created, default is 'BulkRename_Web_DB_Live'
1416. PARAMETER DbPort
@@ -40,6 +42,7 @@ Param (
4042 [Parameter (Mandatory = $false )][string ]$Version = " latest" ,
4143 [Parameter (Mandatory = $false )][string ]$Registry = " docker.io/ramoy/" ,
4244 [Parameter (Mandatory = $false )][string ]$PersistanceMode = " None" ,
45+ [Parameter (Mandatory = $false )][string ]$DbServer = " localhost" ,
4346 [Parameter (Mandatory = $false )][string ]$DbName = " BulkRename_Web_DB_Live" ,
4447 [Parameter (Mandatory = $false )][string ]$DbPort = " 14333" ,
4548 [Parameter (Mandatory = $false )][string ]$DbUser = " sa" ,
@@ -61,6 +64,7 @@ New-Item -ItemType File -Name ".env"
6164Set-Content .\.env " VERSION=$Version "
6265Add-Content .\.env " PERSITANCE_MODE=$PersistanceMode "
6366Add-Content .\.env " DOCKER_REGISTRY=$Registry "
67+ Add-Content .\.env " DB_SERVER=$DbServer "
6468Add-Content .\.env " DB_NAME=$DbName "
6569Add-Content .\.env " SQL_SERVER_EXTERNAL_PORT=$DbPort "
6670Add-Content .\.env " DB_USER=$DbUser "
0 commit comments