fix: use semicolon as COMPOSE_FILE separator on Windows
Windows Docker Compose uses ; not : as the path separator in COMPOSE_FILE. The colon was being interpreted as part of the filename, causing CreateFile errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -615,9 +615,9 @@ POSTGRES_IMAGE=postgres:16-alpine
|
|||||||
$content += "`nKEY_FILE=/user-certs/key.pem"
|
$content += "`nKEY_FILE=/user-certs/key.pem"
|
||||||
if ($c.CaFile) { $content += "`nCA_FILE=/user-certs/ca.pem" }
|
if ($c.CaFile) { $content += "`nCA_FILE=/user-certs/ca.pem" }
|
||||||
}
|
}
|
||||||
$composeFile = 'docker-compose.yml:docker-compose.server.yml'
|
$composeFile = 'docker-compose.yml;docker-compose.server.yml'
|
||||||
if ($c.TlsMode -eq 'custom') { $composeFile += ':docker-compose.tls.yml' }
|
if ($c.TlsMode -eq 'custom') { $composeFile += ';docker-compose.tls.yml' }
|
||||||
if ($c.MonitoringNetwork) { $composeFile += ':docker-compose.monitoring.yml' }
|
if ($c.MonitoringNetwork) { $composeFile += ';docker-compose.monitoring.yml' }
|
||||||
$content += "`n`n# Compose file assembly`nCOMPOSE_FILE=$composeFile"
|
$content += "`n`n# Compose file assembly`nCOMPOSE_FILE=$composeFile"
|
||||||
if ($c.MonitoringNetwork) {
|
if ($c.MonitoringNetwork) {
|
||||||
$content += "`n`n# Monitoring`nMONITORING_NETWORK=$($c.MonitoringNetwork)"
|
$content += "`n`n# Monitoring`nMONITORING_NETWORK=$($c.MonitoringNetwork)"
|
||||||
@@ -669,9 +669,9 @@ CAMELEER_SAAS_PROVISIONING_SERVERIMAGE=${REGISTRY}/cameleer-server:$($c.Version)
|
|||||||
CAMELEER_SAAS_PROVISIONING_SERVERUIIMAGE=${REGISTRY}/cameleer-server-ui:$($c.Version)
|
CAMELEER_SAAS_PROVISIONING_SERVERUIIMAGE=${REGISTRY}/cameleer-server-ui:$($c.Version)
|
||||||
"@
|
"@
|
||||||
$content += $provisioningBlock
|
$content += $provisioningBlock
|
||||||
$composeFile = 'docker-compose.yml:docker-compose.saas.yml'
|
$composeFile = 'docker-compose.yml;docker-compose.saas.yml'
|
||||||
if ($c.TlsMode -eq 'custom') { $composeFile += ':docker-compose.tls.yml' }
|
if ($c.TlsMode -eq 'custom') { $composeFile += ';docker-compose.tls.yml' }
|
||||||
if ($c.MonitoringNetwork) { $composeFile += ':docker-compose.monitoring.yml' }
|
if ($c.MonitoringNetwork) { $composeFile += ';docker-compose.monitoring.yml' }
|
||||||
$content += "`n`n# Compose file assembly`nCOMPOSE_FILE=$composeFile"
|
$content += "`n`n# Compose file assembly`nCOMPOSE_FILE=$composeFile"
|
||||||
if ($c.MonitoringNetwork) {
|
if ($c.MonitoringNetwork) {
|
||||||
$content += "`n`n# Monitoring`nMONITORING_NETWORK=$($c.MonitoringNetwork)"
|
$content += "`n`n# Monitoring`nMONITORING_NETWORK=$($c.MonitoringNetwork)"
|
||||||
|
|||||||
Reference in New Issue
Block a user