-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (49 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
49 lines (49 loc) · 1.22 KB
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
40
41
42
43
44
45
46
47
48
49
version: "3"
services:
web:
# http://localhost:80
image: ${REGISTRY_NAME}demo42/web:${TAG}
build:
args:
- REGISTRY_NAME=jengademos.azurecr.io/
context: ../web/
dockerfile: ./src/WebUI/Dockerfile
ports:
- "80:80"
environment:
- QuotesUri=http://quotes-api/
- StorageConnectionString=[yourConnectionString]
- QueueName=important
networks:
- webnet
quotes-api:
# http://localhost:8080/quotes/rand
image: ${REGISTRY_NAME}demo42/quotes-api:${TAG}
build:
args:
- REGISTRY_NAME=jengademos.azurecr.io/
context: ../quotes/
dockerfile: ./src/QuoteService/Dockerfile
environment:
- ConnectionString=Server=[yourConnectionString]
#- ConfigPath=/etc/quotes-secrets
ports:
- "8080:80"
networks:
- webnet
queueworker:
image: ${REGISTRY_NAME}demo42/queueworker:${TAG}
build:
args:
- REGISTRY_NAME=jengademos.azurecr.io/
context: ../queueworker/
dockerfile: ./src/Important/Dockerfile
environment:
#- ConnectionString=$DBCONNECTIONSTRING
- ConfigPath=/etc/quotes-secrets
ports:
- "8081:80"
networks:
- webnet
networks:
webnet: