rework to use socket-proxy
This commit is contained in:
parent
74a30b3194
commit
7b22ea4ab2
2 changed files with 25 additions and 7 deletions
18
service.test.tf
Normal file
18
service.test.tf
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue