forked from dockersamples/example-voting-app
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 828 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 828 Bytes
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
version: "2"
services:
voting-app:
image: dtrnodednstpal2zkqvglmc.westus.cloudapp.azure.com/admin/vote:latest
ports:
- "80"
networks:
- voteapp
labels:
- "interlock.hostname=vote"
- "interlock.domain=myenterprise.com"
result-app:
image: dtrnodednstpal2zkqvglmc.westus.cloudapp.azure.com/admin/result:latest
ports:
- "80"
networks:
- voteapp
labels:
- "interlock.hostname=results"
- "interlock.domain=myenterprise.com"
worker:
image: dtrnodednstpal2zkqvglmc.westus.cloudapp.azure.com/admin/worker:latest
networks:
- voteapp
redis:
image: redis
ports:
- "6379"
networks:
- voteapp
db:
image: postgres:9.4
volumes:
- "db-data:/var/lib/postgresql/data"
networks:
- voteapp
volumes:
db-data:
networks:
voteapp: