Skip to content

Commit

Permalink
Update docker-compose.yml (#78)
Browse files Browse the repository at this point in the history
* Update docker-compose.yml

* Update docker-compose.yml
  • Loading branch information
aryans1204 authored Mar 13, 2023
1 parent 848011f commit 8c025dc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deployments/staging/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c025dc

Please sign in to comment.