nebula/firefox-sync.tf

36 lines
750 B
Terraform
Raw Normal View History

2019-01-26 12:36:18 +00:00
module "firefox-sync" {
name = "firefox-sync"
source = "./modules/container"
image = "mozilla/syncserver:latest"
// Default is port 80
web {
expose = true
port = "5000"
host = "firesync.${var.root-domain}"
}
volumes = [{
host_path = "/mnt/xwing/data/firefox-sync"
container_path = "/data"
}]
env = [
"SYNCSERVER_PUBLIC_URL=https://firesync.${var.root-domain}",
2019-03-25 15:34:47 +00:00
"SYNCSERVER_SECRET=${data.pass_password.syncserver_secret.password}",
2019-01-26 12:36:18 +00:00
"SYNCSERVER_SQLURI=sqlite:////data/sync.db",
"SYNCSERVER_BATCH_UPLOAD_ENABLED=true",
"SYNCSERVER_FORCE_WSGI_ENVIRON=true",
"PORT=5000",
]
2019-04-13 18:41:55 +00:00
networks_advanced = [
{
name = "traefik"
},
{
name = "bridge"
},
2019-01-26 12:36:18 +00:00
]
}