diff --git a/infra/main.bicep b/infra/main.bicep index c621087..41bf04d 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -37,7 +37,7 @@ param keyVaultBaseName string = 'kv-botabordelv2' param lavalinkConfig object = { server: { password: 'youshallnotpass' - address: 'lavalink' + address: '0.0.0.0' port: '2333' } } @@ -242,7 +242,7 @@ resource containerAppLavalink 'Microsoft.App/containerapps@2023-08-01-preview' = value: lavalinkConfig.server.password } { - name: 'SERVER_ADDERSS' + name: 'SERVER_ADDRESS' value: lavalinkConfig.server.address } { @@ -329,7 +329,11 @@ resource containerAppDiscordBot 'Microsoft.App/containerapps@2023-08-01-preview' } { name: 'Lavalink__Host' - value: containerAppLavalink.properties.outboundIpAddresses[0] + value: containerAppLavalink.name + } + { + name: 'Lavalink__Scheme' + value: 'http' } { name: 'ConnectionStrings__AppConfig' diff --git a/infra/prod.parameters.json b/infra/prod.parameters.json index 81019ef..2b9a0d0 100644 --- a/infra/prod.parameters.json +++ b/infra/prod.parameters.json @@ -4,9 +4,6 @@ "parameters": { "environment": { "value": "PROD" - }, - "discordBotToken": { - "value": "" } } } \ No newline at end of file