From 8c025dce63c044171d391a5100a9e03805fac997 Mon Sep 17 00:00:00 2001 From: Aryan <91662750+aryans1204@users.noreply.github.com> Date: Mon, 13 Mar 2023 23:03:38 +0800 Subject: [PATCH] Update docker-compose.yml (#78) * Update docker-compose.yml * Update docker-compose.yml --- deployments/staging/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/deployments/staging/docker-compose.yml b/deployments/staging/docker-compose.yml index 932260b4..926ae7c7 100644 --- a/deployments/staging/docker-compose.yml +++ b/deployments/staging/docker-compose.yml @@ -59,6 +59,21 @@ services: volumes: - ./db_data:/data/db restart: always + + merch: + container_name: merch + image: nginx + networks: + cms_network: + ipv4_address: 10.5.0.4 + restart: always + depends_on: + - mongo + labels: + - "traefik.enable=true" + - "traefik.http.routers.merch.rule=Host(`merch2.ntuscse.com`, `13.213.116.60`, `localhost`)" + - "traefik.http.routers.merch.entrypoints=websecure" + - "traefik.http.routers.merch.tls.certresolver=myresolver" networks: cms_network: