-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (36 loc) · 1.43 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
soundbuttons:
build:
context: .
target: final
args:
- BUILD_CONFIGURATION=Release
cache_from:
- ghcr.io/sound-buttons/backend:cache
cache_to:
- type=inline
ports:
- 7071:8080
env_file:
- path: .env
required: false
environment:
# This connect to the azure storage emulator
# https://learn.microsoft.com/zh-tw/azure/storage/common/storage-use-azurite#well-known-storage-account-and-key
- AzureWebJobsStorage=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite-emulator:10000/devstoreaccount1;QueueEndpoint=http://azurite-emulator:10001/devstoreaccount1;TableEndpoint=http://azurite-emulator:10002/devstoreaccount1;
# #
- AzureFunctionsJobHost__Logging__Console__IsEnabled=true
- AzureFunctionsJobHost__Logging__LogLevel__Default=Debug
# #
# - Seq_ServerUrl=
# - Seq_ApiKey=
# - AzureStorage=
# - OpenAI_ApiKey=
# Azure Storage Emulator, needed for the durable functions
# You can use your online azure storage account instead and make sure to set the AzureWebJobsStorage env variable to the online connection string
azurite-emulator:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
- 10002:10002