Browse Source

remove abstruse

master
Nemo 1 month ago
parent
commit
a532831de9
3 changed files with 0 additions and 53 deletions
  1. +0
    -35
      abstruse/main.tf
  2. +0
    -9
      abstruse/variables.tf
  3. +0
    -9
      main.tf

+ 0
- 35
abstruse/main.tf View File

@ -1,35 +0,0 @@
data "docker_registry_image" "abstruse" {
name = "bleenco/abstruse:latest"
}
resource "docker_image" "abstruse" {
name = "${data.docker_registry_image.abstruse.name}"
pull_triggers = ["${data.docker_registry_image.abstruse.sha256_digest}"]
}
resource "docker_container" "abstruse" {
name = "abstruse"
image = "${docker_image.abstruse.latest}"
labels = "${merge(
var.traefik-labels, map(
"traefik.port", 6500,
"traefik.frontend.rule","Host:${var.domain}"
))}"
networks = ["${var.traefik-network-id}"]
volumes {
host_path = "/var/run/docker.sock"
container_path = "/var/run/docker.sock"
}
volumes {
host_path = "/mnt/xwing/config/abstruse"
container_path = "/root/.abstruse"
}
restart = "unless-stopped"
destroy_grace_seconds = 60
must_run = true
}

+ 0
- 9
abstruse/variables.tf View File

@ -1,9 +0,0 @@
variable "domain" {
description = "domain to be used by traefik"
}
variable "traefik-labels" {
type = "map"
}
variable "traefik-network-id" {}

+ 0
- 9
main.tf View File

@ -90,12 +90,3 @@ module "digitalocean" {
# source = "tinyproxy"
# ips = "${var.ips}"
# }
# module "abstruse" {
# source = "abstruse"
# domain = "ci.bb8.fun"
# traefik-labels = "${var.traefik-common-labels}"
# traefik-network-id = "${module.docker.traefik-network-id}"
# }

Loading…
Cancel
Save