Browse Source

chore: bring back old service

pull/3/head
Karan Sharma 9 months ago
parent
commit
2146712dba
  1. 11
      floyd/terraform/caddy/conf/Caddyfile-internal.tpl
  2. 11
      floyd/terraform/main.tf

11
floyd/terraform/caddy/conf/Caddyfile-internal.tpl

@ -37,3 +37,14 @@ nextcloud.mrkaran.dev {
}
metrics /metrics
}
firefly.mrkaran.dev {
reverse_proxy firefly:8080
tls {
dns cloudflare "${cloudflare_api_token}"
}
header {
# https://docs.firefly-iii.org/installation/docker#docker-and-reverse-proxies
X-Forwarded-Proto https
}
}

11
floyd/terraform/main.tf

@ -92,3 +92,14 @@ module "cloudflare" {
cloudflare = cloudflare
}
}
module "firefly" {
source = "./firefly"
ips = var.ips
firefly_postgres_password = var.firefly_postgres_password
firefly_app_key = var.firefly_app_key
caddy_network_internal = module.caddy.caddy_network_internal
providers = {
docker = docker.floyd
}
}

Loading…
Cancel
Save