Files
insurance/deploy/traefik-dynamic.yml
T
chpark ff18784983
Build & Deploy / build-and-deploy (push) Failing after 11s
fix: 서버 k3s/Traefik 인프라에 맞춰 매니페스트 재작성
- image: Gitea registry → 서버 로컬 registry(localhost:5000)로 변경
- Service: ClusterIP + Ingress → NodePort(30200/30201) + Traefik docker dynamic 파일
- deploy/traefik-dynamic.yml: /opt/docker/traefik/dynamic/insurance.yml 배치용
- scripts/deploy-remote.sh: 서버 수동 배포 스크립트 (build→push→k3s apply→traefik 설정)
- legacy ingress.yaml / ingressroute-traefik.yaml 제거

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 00:44:05 +09:00

31 lines
598 B
YAML

http:
routers:
insurance-web:
rule: "Host(`insurance.junggomoa.com`)"
entryPoints:
- web
- websecure
service: insurance-web
tls:
certResolver: le
insurance-api:
rule: "Host(`api.insurance.junggomoa.com`)"
entryPoints:
- web
- websecure
service: insurance-api
tls:
certResolver: le
services:
insurance-web:
loadBalancer:
servers:
- url: "http://127.0.0.1:30200"
insurance-api:
loadBalancer:
servers:
- url: "http://127.0.0.1:30201"