-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker-compose.azure.yml
44 lines (41 loc) · 1.13 KB
/
docker-compose.azure.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
40
41
42
43
version: "3.8"
services:
mediator:
build:
context: .
target: prod
image: deploydemoregistry.azurecr.io/electionguard-api-python:latest
container_name: 'electionguard-api-python-mediator'
ports:
- 8000:8000
environment:
API_MODE: "mediator"
QUEUE_MODE: "remote"
STORAGE_MODE: "mongo"
PROJECT_NAME: "ElectionGuard Mediator API"
PORT: 8000
MESSAGEQUEUE_URI: "amqp://guest:guest@electionguard-message-queue:5672"
MONGODB_URI: "mongodb://username:@electionguard-demo.mongo.cosmos.azure.com:10255"
guardian:
build:
context: .
target: prod
image: deploydemoregistry.azurecr.io/electionguard-api-python:latest
container_name: 'electionguard-api-python-guardian'
ports:
- 8001:8001
environment:
API_MODE: "guardian"
QUEUE_MODE: "remote"
STORAGE_MODE: "mongo"
PROJECT_NAME: "ElectionGuard Guardian API"
PORT: 8001
messagequeue:
image: rabbitmq:3.8.16-management-alpine
container_name: 'electionguard-message-queue'
expose:
- 5672
- 15672
ports:
- 5672:5672
- 15672:15672