Compare commits

..

No commits in common. "dfe02d4fc317a50ebcdc777dc48e0991f3fcacae" and "b6d784c5d3a25c994a6f43f404e3a74da8db4f74" have entirely different histories.

3 changed files with 0 additions and 51 deletions

View file

@ -18,7 +18,6 @@ module "nginx" {
module.vigil_nginx_config.files,
module.videobucket_nginx_config.files,
//module.netbox_nginx_config.files,
module.orcaslicer_nginx_config.files,
)
networks = [
docker_network.loadbalancer,

View file

@ -1,50 +0,0 @@
data "docker_registry_image" "orcaslicer" {
name = "lscr.io/linuxserver/orcaslicer:latest"
}
resource "docker_volume" "orcaslicer" {
name = "orcaslicer_config"
}
resource "docker_service" "orcaslicer" {
name = "orcaslicer"
task_spec {
container_spec {
image = "${data.docker_registry_image.orcaslicer.name}@${data.docker_registry_image.orcaslicer.sha256_digest}"
env = {
PUID = 1000
PGID = 1000
TZ = "Europe/Amsterdam"
}
mounts {
target = "/config"
type = "volume"
source = docker_volume.orcaslicer.name
}
}
networks_advanced {
name = docker_network.loadbalancer.id
}
restart_policy {
condition = "any"
delay = "0s"
window = "0s"
}
}
endpoint_spec {
ports {
target_port = 3000
published_port = 3000
publish_mode = "ingress"
}
}
}
module "orcaslicer_nginx_config" {
# tflint-ignore: terraform_module_pinned_source
source = "git::https://code.techinc.nl/grey/terraform-nginx.git//nginx-site-available"
hostname = "orca.california.ti"
//certificate = acme_certificate.ooo_grey["s3"]
service_name = docker_service.orcaslicer.name
upstream_host = "${docker_service.orcaslicer.name}:3000"
config_prefix = "nginx"
allow_non_ssl = true
allow_ssl = false
}