Adds Firefox Sync Server
This commit is contained in:
parent
4b5747abd3
commit
0792c36f64
|
@ -0,0 +1,30 @@
|
||||||
|
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}",
|
||||||
|
"SYNCSERVER_SECRET=${var.syncserver_secret}",
|
||||||
|
"SYNCSERVER_SQLURI=sqlite:////data/sync.db",
|
||||||
|
"SYNCSERVER_BATCH_UPLOAD_ENABLED=true",
|
||||||
|
"SYNCSERVER_FORCE_WSGI_ENVIRON=true",
|
||||||
|
"PORT=5000",
|
||||||
|
]
|
||||||
|
|
||||||
|
networks = [
|
||||||
|
"${list(module.docker.traefik-network-id)}",
|
||||||
|
]
|
||||||
|
}
|
|
@ -10,7 +10,8 @@ module "sonarr-container" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource {
|
resource {
|
||||||
memory = 512
|
memory = 512
|
||||||
|
memory_swap = 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
|
@ -92,3 +92,5 @@ variable "outline_slack_key" {}
|
||||||
variable "outline_slack_secret" {}
|
variable "outline_slack_secret" {}
|
||||||
variable "outline_slack_app_id" {}
|
variable "outline_slack_app_id" {}
|
||||||
variable "outline_slack_verification_token" {}
|
variable "outline_slack_verification_token" {}
|
||||||
|
|
||||||
|
variable "syncserver_secret" {}
|
||||||
|
|
Loading…
Reference in New Issue