fix formating
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
dimitar 2026-08-04 07:16:19 +02:00
parent 33a36546d2
commit 09bc7650ae

View File

@ -9,39 +9,39 @@ services:
networks: networks:
- coolify - coolify
labels: labels:
traefik.enable: "true" traefik.enable: "true"
traefik.docker.network: "coolify" traefik.docker.network: "coolify"
# Root domain: testbed.mk # Root domain: testbed.mk
traefik.http.routers.testbed-root.rule: "Host(`testbed.mk`)" traefik.http.routers.testbed-root.rule: "Host(`testbed.mk`)"
traefik.http.routers.testbed-root.entryPoints: "https" traefik.http.routers.testbed-root.entryPoints: "https"
traefik.http.routers.testbed-root.service: "spomeniqr-svc" traefik.http.routers.testbed-root.service: "spomeniqr-svc"
traefik.http.routers.testbed-root.tls: "true" traefik.http.routers.testbed-root.tls: "true"
# Wildcard subdomains: *.testbed.mk # Wildcard subdomains: *.testbed.mk
traefik.http.routers.testbed-wildcard.rule: "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.testbed.mk`)" traefik.http.routers.testbed-wildcard.rule: "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.testbed.mk`)"
traefik.http.routers.testbed-wildcard.entryPoints: "https" traefik.http.routers.testbed-wildcard.entryPoints: "https"
traefik.http.routers.testbed-wildcard.service: "spomeniqr-svc" traefik.http.routers.testbed-wildcard.service: "spomeniqr-svc"
traefik.http.routers.testbed-wildcard.tls: "true" traefik.http.routers.testbed-wildcard.tls: "true"
# HTTP → HTTPS redirect for root # HTTP → HTTPS redirect for root
traefik.http.routers.testbed-root-http.rule: "Host(`testbed.mk`)" traefik.http.routers.testbed-root-http.rule: "Host(`testbed.mk`)"
traefik.http.routers.testbed-root-http.entryPoints: "http" traefik.http.routers.testbed-root-http.entryPoints: "http"
traefik.http.routers.testbed-root-http.middlewares: "redirect-to-https" traefik.http.routers.testbed-root-http.middlewares: "redirect-to-https"
traefik.http.routers.testbed-root-http.service: "spomeniqr-svc" traefik.http.routers.testbed-root-http.service: "spomeniqr-svc"
# HTTP → HTTPS redirect for wildcard # HTTP → HTTPS redirect for wildcard
traefik.http.routers.testbed-wildcard-http.rule: "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.testbed.mk`)" traefik.http.routers.testbed-wildcard-http.rule: "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.testbed.mk`)"
traefik.http.routers.testbed-wildcard-http.entryPoints: "http" traefik.http.routers.testbed-wildcard-http.entryPoints: "http"
traefik.http.routers.testbed-wildcard-http.middlewares: "redirect-to-https" traefik.http.routers.testbed-wildcard-http.middlewares: "redirect-to-https"
traefik.http.routers.testbed-wildcard-http.service: "spomeniqr-svc" traefik.http.routers.testbed-wildcard-http.service: "spomeniqr-svc"
# Your app service # Your app service
traefik.http.services.spomeniqr-svc.loadbalancer.server.port: "3000" traefik.http.services.spomeniqr-svc.loadbalancer.server.port: "3000"
# Gzip compression # Gzip compression
traefik.http.middlewares.gzip.compress: "true" traefik.http.middlewares.gzip.compress: "true"
traefik.http.middlewares.redirect-to-https.redirectscheme.scheme: "https" traefik.http.middlewares.redirect-to-https.redirectscheme.scheme: "https"
networks: networks:
coolify: coolify:
external: true external: true