getting environment variables to work
This commit is contained in:
Родитель
52a2f25163
Коммит
4754b09904
|
@ -40,17 +40,17 @@ jobs:
|
||||||
{
|
{
|
||||||
name: "electionguard-api-python-mediator",
|
name: "electionguard-api-python-mediator",
|
||||||
image: "${{ secrets.DEPLOY_REGISTRY }}.azurecr.io/electionguard-api-python:${{ github.sha }}",
|
image: "${{ secrets.DEPLOY_REGISTRY }}.azurecr.io/electionguard-api-python:${{ github.sha }}",
|
||||||
environment-variables: 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",
|
"environment-variables": "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",
|
||||||
secure-environment-variables: MONGODB_URI=${{ secrets.COSMOSDB_URI }},
|
"secure-environment-variables": "MONGODB_URI=${{ secrets.COSMOSDB_URI }}",
|
||||||
"cpu": 1,
|
"cpu": 1,
|
||||||
"memory": 1,
|
"memory": 1,
|
||||||
ports: "8000"
|
ports: "8000"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: electionguard-api-python-guardian,
|
"name": "electionguard-api-python-guardian",
|
||||||
image: ${{ secrets.DEPLOY_REGISTRY }}.azurecr.io/electionguard-api-python:${{ github.sha }},
|
"image": "${{ secrets.DEPLOY_REGISTRY }}.azurecr.io/electionguard-api-python:${{ github.sha }}",
|
||||||
environment-variables: API_MODE="guardian" QUEUE_MODE="remote" STORAGE_MODE="mongo" PROJECT_NAME="ElectionGuard Guardian API" PORT=8001 MESSAGEQUEUE_URI="amqp://guest:guest@electionguard-message-queue:5672",
|
"environment-variables": "API_MODE=\"guardian\" QUEUE_MODE=\"remote\" STORAGE_MODE=\"mongo\" PROJECT_NAME=\"ElectionGuard Guardian API\" PORT=8001 MESSAGEQUEUE_URI=\"amqp://guest:guest@electionguard-message-queue:5672\"",
|
||||||
secure-environment-variables: MONGODB_URI=${{ secrets.COSMOSDB_URI }},
|
"secure-environment-variables": "MONGODB_URI=${{ secrets.COSMOSDB_URI }}",
|
||||||
"cpu": 1,
|
"cpu": 1,
|
||||||
"memory": 1,
|
"memory": 1,
|
||||||
ports: "8001"
|
ports: "8001"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче