From eaa3bda98b53037ca500c09027fae72451299284 Mon Sep 17 00:00:00 2001 From: Gyeongho Yang Date: Wed, 4 Dec 2024 10:12:58 +0900 Subject: [PATCH] refactor: change label format on compoases --- server/docker-compose-be.yaml | 12 ++++++------ server/docker-compose-fe.yaml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/server/docker-compose-be.yaml b/server/docker-compose-be.yaml index 5c390ff..bc2afde 100644 --- a/server/docker-compose-be.yaml +++ b/server/docker-compose-be.yaml @@ -13,12 +13,12 @@ services: SPRING_PROFILES_ACTIVE: prod JASYPT_PASSWORD: ${JASYPT_PASSWORD} labels: - - traefik.enable=true - - traefik.http.services.mapletool-be.loadbalancer.server.port=8080 - - traefik.http.routers.mapletool-be.rule=Host(`maple.ygh.kr`) && PathPrefix(`/api`) - - traefik.http.routers.mapletool-be.entrypoints=websecure - - traefik.http.routers.mapletool-be.tls=true - - traefik.http.routers.mapletool-be.tls.certresolver=letsencrypt + traefik.enable: true + traefik.http.services.mapletool-be.loadbalancer.server.port: 8080 + traefik.http.routers.mapletool-be.rule: Host(`maple.ygh.kr`) && PathPrefix(`/api`) + traefik.http.routers.mapletool-be.entrypoints: websecure + traefik.http.routers.mapletool-be.tls: true + traefik.http.routers.mapletool-be.tls.certresolver: letsencrypt volumes: - ../backend/build/libs:/opt:ro working_dir: /opt diff --git a/server/docker-compose-fe.yaml b/server/docker-compose-fe.yaml index 2880b93..b030818 100644 --- a/server/docker-compose-fe.yaml +++ b/server/docker-compose-fe.yaml @@ -10,12 +10,12 @@ services: image: nginx:alpine restart: unless-stopped labels: - - traefik.enable=true - - traefik.http.services.mapletool-fe.loadbalancer.server.port=80 - - traefik.http.routers.mapletool-fe.rule=Host(`maple.ygh.kr`) - - traefik.http.routers.mapletool-fe.entrypoints=websecure - - traefik.http.routers.mapletool-fe.tls=true - - traefik.http.routers.mapletool-fe.tls.certresolver=letsencrypt + traefik.enable: true + traefik.http.services.mapletool-fe.loadbalancer.server.port: 80 + traefik.http.routers.mapletool-fe.rule: Host(`maple.ygh.kr`) + traefik.http.routers.mapletool-fe.entrypoints: websecure + traefik.http.routers.mapletool-fe.tls: true + traefik.http.routers.mapletool-fe.tls.certresolver: letsencrypt volumes: - ../frontend/dist:/usr/share/nginx/html:ro configs: