-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 1.42 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
version: '3.7'
services:
functions:
container_name: functions
build:
context: .
dockerfile: Dockerfile
ports:
- '8080:80'
depends_on:
- "storage"
environment:
- AzureWebJobsStorage=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://host.docker.internal:10000/devstoreaccount1;TableEndpoint=http://host.docker.internal:10002/devstoreaccount1;QueueEndpoint=http://host.docker.internal:10001/devstoreaccount1;
- WEBSITE_CONTENTAZUREFILECONNECTIONSTRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://host.docker.internal:10000/devstoreaccount1;TableEndpoint=http://host.docker.internal:10002/devstoreaccount1;QueueEndpoint=http://host.docker.internal:10001/devstoreaccount1;
- FUNCTIONS_EXTENSION_VERSION=~3
- WEBSITES_ENABLE_APP_SERVICE_STORAGE=false
- AzureWebJobsSecretStorageType=files
- GitHub__Token=${GITHUBTOKEN}
- GitHub__Organization=${GITHUBORGANIZATION}
- WEBSITE_HOSTNAME=localhost:8080
storage:
container_name: storage
image: mcr.microsoft.com/azure-storage/azurite
ports:
- '10000:10000'
- '10001:10001'
- '10002:10002'
logging:
driver: none