fix-pipeline-fail #27

Merged
kovagoadi merged 2 commits from fix-pipeline-fail into main 2025-12-25 21:13:48 +01:00
2 changed files with 3 additions and 36 deletions

View File

@@ -21,9 +21,9 @@ services:
- "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}" - "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
- "${TRAEFIK_LEGACY_OPT:-}" - "${TRAEFIK_LEGACY_OPT:-}"
- "--providers.file.watch=true" - "--providers.file.watch=true"
extra_hosts: # extra_hosts:
- "staging:${STAGING_IP:-192.168.1.85}" # - "staging:${STAGING_IP:-192.168.1.85}"
- "webserver:${LEGACY_IP:-192.168.1.85}" # - "webserver:${LEGACY_IP:-192.168.1.85}"
ports: ports:
- "${PORT}:80" - "${PORT}:80"
- "${HTTPS_PORT}:443" - "${HTTPS_PORT}:443"

View File

@@ -1,33 +0,0 @@
http:
routers:
# Router for HTTP (Port 80)
staging:
rule: "HostRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
entryPoints:
- "web"
service: "dev-staging"
priority: 1000
services:
dev-staging:
loadBalancer:
servers:
- url: "http://staging:8080"
tcp:
routers:
# Router for HTTPS (Passthrough)
dev-staging-secure:
rule: "HostSNIRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostSNIRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
service: "dev-staging-secure"
# Passthrough must be true for SSL to reach Nginx encrypted
tls:
passthrough: true
priority: 1000
entryPoints:
- "https"
services:
dev-staging-secure:
loadBalancer:
servers:
# Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify
- address: "staging:445"