From 468ecf761228a9eeccf841c51609c141b1fcb559 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 15 Apr 2024 16:10:41 +0800 Subject: [PATCH] Update port mapping for cheatsheets_app service in production.yml --- compose/traefik/traefik.yml | 3 +-- production.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compose/traefik/traefik.yml b/compose/traefik/traefik.yml index 105b39a..b4f7026 100644 --- a/compose/traefik/traefik.yml +++ b/compose/traefik/traefik.yml @@ -98,7 +98,6 @@ http: - csrf service: cheatsheets_app tls: - # https://docs.traefik.io/master/routing/routers/#certresolver certResolver: letsencrypt # mqttx-router: @@ -246,7 +245,7 @@ http: cheatsheets_app: loadBalancer: servers: - - url: http://cheatsheets_app:8011 + - url: http://cheatsheets_app:80 mqttx-web: loadBalancer: servers: diff --git a/production.yml b/production.yml index 7ca8a4d..9510cce 100644 --- a/production.yml +++ b/production.yml @@ -59,8 +59,8 @@ services: image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest} container_name: cheatsheets_app restart: unless-stopped - ports: - - "8011:80" + expose: + - 80 networks: - net - default