Skip to content

Commit

Permalink
Merge pull request #72 from capcom6/deployment/use-certresolver
Browse files Browse the repository at this point in the history
[deploy] Use cert resolver instead of static cert
  • Loading branch information
capcom6 authored Jun 19, 2024
2 parents 9974177 + f3b0aa4 commit 7ce1e88
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deployments/docker-swarm-terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,13 @@ resource "docker_service" "app" {
label = "traefik.http.routers.${var.app-name}.entrypoints"
value = "https"
}
# labels {
# label = "traefik.http.routers.${var.app-name}.tls"
# value = true
# }
labels {
label = "traefik.http.routers.${var.app-name}.tls"
value = true
label = "traefik.http.routers.${var.app-name}.tls.certresolver"
value = "le"
}

labels {
Expand Down

0 comments on commit 7ce1e88

Please sign in to comment.