Portainer has its own auth
This commit is contained in:
parent
37407f72c2
commit
e45d5b1773
1 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
module "portainer" {
|
module "portainer" {
|
||||||
#source = "github.com/matthewbaggett/terraform_modules//products/portainer/ui"
|
#source = "github.com/matthewbaggett/terraform_modules//products/portainer/ui"
|
||||||
source = "./lib/grey.ooo/products/portainer/ui"
|
source = "./lib/grey.ooo/products/portainer/ui"
|
||||||
|
@ -6,11 +5,10 @@ module "portainer" {
|
||||||
placement_constraints = ["node.role == manager"]
|
placement_constraints = ["node.role == manager"]
|
||||||
networks = [module.traefik.docker_network]
|
networks = [module.traefik.docker_network]
|
||||||
traefik = {
|
traefik = {
|
||||||
domain = "portainer.${var.base_domain}",
|
domain = "portainer.${var.base_domain}",
|
||||||
port = 9000,
|
port = 9000,
|
||||||
ssl = true,
|
ssl = true,
|
||||||
non-ssl = true
|
non-ssl = true
|
||||||
basic-auth-users = ["techinc"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue