forked from Azure/device-simulation-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (36 loc) · 1.07 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
38
39
# Copyright (c) Microsoft. All rights reserved.
# Usage:
# - install Docker Compose, see https://docs.docker.com/compose/install
# - open a console and `cd` into the folder that contains this file
# - run `docker-compose up`
version: "3"
services:
devicesimulation:
image: azureiotpcs/device-simulation-dotnet:testing
depends_on:
- storageadapter
ports:
- "9003:9003"
environment:
- PCS_IOTHUB_CONNSTRING
- PCS_AZURE_STORAGE_ACCOUNT
- PCS_STORAGEADAPTER_WEBSERVICE_URL=http://storageadapter:9022/v1
- PCS_STORAGEADAPTER_DOCUMENTDB_CONNSTRING
- PCS_AUTH_REQUIRED
- PCS_CORS_WHITELIST
- PCS_AUTH_ISSUER
- PCS_AUTH_AUDIENCE
- PCS_TWIN_READ_WRITE_ENABLED
- PCS_LOG_LEVEL
- PCS_SUBSCRIPTION_DOMAIN
- PCS_SUBSCRIPTION_ID
- PCS_RESOURCE_GROUP
- PCS_IOHUB_NAME
#volumes:
# - ./sample-volume:/app/data:ro
storageadapter:
image: azureiotpcs/pcs-storage-adapter-dotnet:testing
ports:
- "9022:9022"
environment:
- PCS_STORAGEADAPTER_DOCUMENTDB_CONNSTRING