-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Anderson
committed
Jan 10, 2025
1 parent
9a8254c
commit 4fd30b5
Showing
4 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Environment file for user defined variables in docker-compose.yml | ||
|
||
# 1. CONFIG_PATH: Path to Config.json file | ||
# Ex: CONFIG_PATH="C:\\Config\\Config.json" | ||
CONFIG_PATH=".\\config.json" | ||
|
||
# 2. ACCEPT_EULA: Pass 'Y' to accept license terms for Azure SQL Edge and Azure Service Bus emulator. | ||
# Service Bus emulator EULA : https://github.com/Azure/azure-service-bus-emulator-installer/blob/main/EMULATOR_EULA.txt | ||
# SQL Edge EULA : https://go.microsoft.com/fwlink/?linkid=2139274 | ||
ACCEPT_EULA="Y" | ||
|
||
# 3. MSSQL_SA_PASSWORD to be filled by user as per policy : https://learn.microsoft.com/sql/relational-databases/security/strong-passwords?view=sql-server-linux-ver16 | ||
MSSQL_SA_PASSWORD="BTMS@L0c4l" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: microsoft-azure-servicebus-emulator | ||
services: | ||
emulator: | ||
container_name: "servicebus-emulator" | ||
image: mcr.microsoft.com/azure-messaging/servicebus-emulator:latest | ||
volumes: | ||
- "${CONFIG_PATH}:/ServiceBus_Emulator/ConfigFiles/Config.json" | ||
ports: | ||
- "5672:5672" | ||
environment: | ||
SQL_SERVER: sqledge | ||
MSSQL_SA_PASSWORD: ${MSSQL_SA_PASSWORD} | ||
ACCEPT_EULA: ${ACCEPT_EULA} | ||
depends_on: | ||
- sqledge | ||
networks: | ||
sb-emulator: | ||
aliases: | ||
- "sb-emulator" | ||
sqledge: | ||
container_name: "sqledge" | ||
image: "mcr.microsoft.com/azure-sql-edge:latest" | ||
networks: | ||
sb-emulator: | ||
aliases: | ||
- "sqledge" | ||
environment: | ||
ACCEPT_EULA: ${ACCEPT_EULA} | ||
MSSQL_SA_PASSWORD: ${MSSQL_SA_PASSWORD} | ||
networks: | ||
sb-emulator: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"UserConfig": { | ||
"Namespaces": [ | ||
{ | ||
"Name": "sbemulatorns", | ||
|
||
"Topics": [ | ||
{ | ||
"Name": "dev_alvs_topic_vnet", | ||
"Properties": { | ||
"DefaultMessageTimeToLive": "PT1H", | ||
"DuplicateDetectionHistoryTimeWindow": "PT20S", | ||
"RequiresDuplicateDetection": false | ||
}, | ||
"Subscriptions": [ | ||
{ | ||
"Name": "dev_btms_sub_vnet", | ||
"Properties": { | ||
"DeadLetteringOnMessageExpiration": false, | ||
"DefaultMessageTimeToLive": "PT1H", | ||
"LockDuration": "PT1M", | ||
"MaxDeliveryCount": 10, | ||
"ForwardDeadLetteredMessagesTo": "", | ||
"ForwardTo": "", | ||
"RequiresSession": false | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Name": "dev_notification_topic_vnet", | ||
"Properties": { | ||
"DefaultMessageTimeToLive": "PT1H", | ||
"DuplicateDetectionHistoryTimeWindow": "PT20S", | ||
"RequiresDuplicateDetection": false | ||
}, | ||
"Subscriptions": [ | ||
{ | ||
"Name": "dev_btms_sub_vnet", | ||
"Properties": { | ||
"DeadLetteringOnMessageExpiration": false, | ||
"DefaultMessageTimeToLive": "PT1H", | ||
"LockDuration": "PT1M", | ||
"MaxDeliveryCount": 10, | ||
"ForwardDeadLetteredMessagesTo": "", | ||
"ForwardTo": "", | ||
"RequiresSession": false | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"Logging": { | ||
"Type": "File" | ||
} | ||
} | ||
} |