-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
36 lines (34 loc) · 1.03 KB
/
docker-compose.yaml
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
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite:latest
ports:
- 10000:10000
command: azurite-blob --blobHost 0.0.0.0 --skipApiVersionCheck
restart: unless-stopped
upload-documents:
build:
context: .
dockerfile: azure-mock/Dockerfile
environment:
- AZURE_STORAGE_HOST=http://azurite
depends_on:
- azurite
server:
build:
dockerfile: ./Dockerfile
context: .
args:
BUILD_DATE: dummy
COMMIT_ID: wip
VERSION: v0.0.0-local
ports:
- 4000:4000
environment:
- PORT=4000
- AZURE_BLOB_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://host.docker.internal:10000/devstoreaccount1;
- AHB_CONTAINER_NAME=uploaded-files
- FORMAT_VERSION_CONTAINER_NAME=format-versions
- ENVIRONMENT=stage
depends_on:
- upload-documents
- azurite