Fixes for freshrss

This commit is contained in:
Amarpreet Minhas 2021-06-06 17:51:45 -04:00
parent 2b15b004b1
commit f804d2919a

View file

@ -60,14 +60,15 @@ job "freshrss" {
template { template {
data = <<EOH data = <<EOH
POSTGRES_DB = "freshrss" CRON_MIN = '13,43'
POSTGRES_USER = "freshrss"
POSTGRES_PASSWORD = "{{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }}"
POSTGRES_HOST = "ivyking.node.masked.name"
ROOT_URL = "${NOMAD_ADDR_http}"
JAVA_ARGS = "-Xmx2048m"
FRESHRSS_ENV = "production" FRESHRSS_ENV = "production"
FRESHRSS_INSTALL = " --api_enabled --base_url https://rss.minhas.io --db-base freshrss --db-host ivyking.node.masked.name --db-password {{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }} --db-type pgsql --db-user freshrss --default_user asara --language en" FRESHRSS_INSTALL = " --api_enabled --base_url https://rss.minhas.io --db-base freshrss --db-host ivyking.node.masked.name --db-password {{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }} --db-type pgsql --db-user freshrss --default_user asara --language en --base_url https://rss.minhas.io"
JAVA_ARGS = "-Xmx2048m"
POSTGRES_DB = "freshrss"
POSTGRES_HOST = "ivyking.node.masked.name"
POSTGRES_PASSWORD = "{{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }}"
POSTGRES_USER = "freshrss"
ROOT_URL = "${NOMAD_ADDR_http}"
TZ = "America/New_York" TZ = "America/New_York"
EOH EOH
destination = "secrets/freshrss.env" destination = "secrets/freshrss.env"