terraform file uploads can't be executed

- Uses a custom entrypoint instead
This commit is contained in:
Nemo 2018-03-30 23:48:26 +05:30
parent 57d175d794
commit a08132ca8c
3 changed files with 6 additions and 2 deletions

View File

@ -29,9 +29,9 @@ module "timemachine" {
source = "timemachine" source = "timemachine"
ips = "${var.ips}" ips = "${var.ips}"
username-1 = "vikalp" username-1 = "vikalp"
password-1 = "vikalp" password-1 = "${var.timemachine-password-1}"
username-2 = "rishav" username-2 = "rishav"
password-2 = "vikalp" password-2 = "${var.timemachine-password-2}"
} }
module "gitea" { module "gitea" {

View File

@ -34,6 +34,7 @@ resource docker_container "timemachine" {
} }
entrypoint = [ entrypoint = [
"/bin/sh",
"/entrypoint-custom.sh", "/entrypoint-custom.sh",
] ]

View File

@ -67,3 +67,6 @@ variable "traefik-common-labels" {
"traefik.frontend.headers.browserXSSFilter" = "true" "traefik.frontend.headers.browserXSSFilter" = "true"
} }
} }
variable "timemachine-password-2" {}
variable "timemachine-password-1" {}