no more firefox sync, Mozilla makes this too hard

This commit is contained in:
Nemo 2021-10-16 11:41:30 +05:30
parent 137eb3469f
commit f6b1954e8f
1 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
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}"
}
resource = {
memory = "400"
memory_swap = "400"
}
volumes = [
{
host_path = "/mnt/xwing/data/firefox-sync"
container_path = "/data"
},
]
env = [
"SYNCSERVER_PUBLIC_URL=https://firesync.${var.root-domain}",
"SYNCSERVER_SECRET=${data.pass_password.syncserver_secret.password}",
"SYNCSERVER_SQLURI=sqlite:////data/sync.db",
"SYNCSERVER_BATCH_UPLOAD_ENABLED=true",
"SYNCSERVER_FORCE_WSGI_ENVIRON=true",
"PORT=5000",
]
networks = ["bridge"]
}