From 9a7823cf6eabc34c15355e801dd5c1a1c9cb02d4 Mon Sep 17 00:00:00 2001 From: Ram Ramrakhya Date: Mon, 11 Oct 2021 18:13:05 -0400 Subject: [PATCH] Add nodejs v2 in production environment (#3611) --- docker-compose-production.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker-compose-production.yml b/docker-compose-production.yml index 0d0d48f1f8..c692d5531b 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -60,6 +60,25 @@ services: awslogs-group: nodejs_production awslogs-create-group: "true" + nodejs_v2: + image: ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/evalai-production-frontend-v2:${COMMIT_ID} + build: + context: ./ + dockerfile: docker/prod/nodejs_v2/Dockerfile + args: + NODE_ENV: production + ports: + - "9999:80" + - "443:443" + volumes: + - /code/node_modules + logging: + driver: awslogs + options: + awslogs-region: us-east-1 + awslogs-group: nodejs_production_v2 + awslogs-create-group: "true" + remote-worker: image: ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/evalai-production-remote-worker:${COMMIT_ID} build: