19 lines
378 B
Terraform
19 lines
378 B
Terraform
|
module "test" {
|
||
|
source = "./lib/grey.ooo/docker/service"
|
||
|
stack_name = "test"
|
||
|
service_name = "hello"
|
||
|
image = "nginxdemos/hello:plain-text"
|
||
|
parallelism = 5
|
||
|
traefik = {
|
||
|
domain = "test.${var.base_domain}"
|
||
|
port = 80
|
||
|
ssl = true
|
||
|
non-ssl = true
|
||
|
#basic-auth-users = ["test"]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "test" {
|
||
|
value = module.test.endpoint
|
||
|
}
|