Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcc723 committed Oct 6, 2023
1 parent ce904bb commit 9aebd96
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- traefik.enable=true
- "traefik.http.routers.webservice.entrypoints=web" # 使用 web 入口點,對應到 80 端口
- "traefik.http.routers.webservice.rule=Host(`ironman-node.casper.tw`)" # 對應到 custom2.xxx 主機名
- "traefik.http.routers.webservice.service=web" # 設置服務為 Traefik 的內部 API
- "traefik.http.routers.webservice.service=webservice" # 設置服務為 Traefik 的內部 API
- traefik.http.services.webservice.loadbalancer.server.port=3000

mongo: # 服務名稱
Expand All @@ -31,8 +31,6 @@ services:
- mongo-data:/data/db
ports:
- "27017:27017"
networks: # 此網路設定需要與 traefik 一致
- casper


volumes:
Expand Down

0 comments on commit 9aebd96

Please sign in to comment.