Skip to content

Commit

Permalink
[cd] add new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Sep 12, 2024
1 parent 230671b commit df972c4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deployments/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ resource "docker_service" "app" {
value = true
}

labels {
label = "traefik.http.routers.${var.app-name}-new.rule"
value = "Host(`sms-gate.app`)"
}
labels {
label = "traefik.http.routers.${var.app-name}-new.entrypoints"
value = "https"
}
labels {
label = "traefik.http.routers.${var.app-name}-new.tls.certresolver"
value = "le"
}

labels {
label = "traefik.http.services.${var.app-name}.loadbalancer.server.port"
value = 80
Expand Down

0 comments on commit df972c4

Please sign in to comment.