Skip to content

Commit

Permalink
refactor: change label format on compoases
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Dec 4, 2024
1 parent df11d98 commit eaa3bda
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions server/docker-compose-be.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions server/docker-compose-fe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eaa3bda

Please sign in to comment.