Update PSQL backend
This commit is contained in:
parent
54c318e4d6
commit
75d82186ad
4 changed files with 5 additions and 5 deletions
|
@ -67,10 +67,10 @@ job "freshrss" {
|
|||
data = <<EOH
|
||||
CRON_MIN = '13,43'
|
||||
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 --base_url https://rss.minhas.io"
|
||||
FRESHRSS_INSTALL = " --api_enabled --base_url https://rss.minhas.io --db-base freshrss --db-host sedan.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_HOST = "sedan.node.masked.name"
|
||||
POSTGRES_PASSWORD = "{{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
POSTGRES_USER = "freshrss"
|
||||
ROOT_URL = "${NOMAD_ADDR_http}"
|
||||
|
|
|
@ -70,7 +70,7 @@ job "gitea" {
|
|||
LOCAL_ROOT_URL = "http://localhost:3000/"
|
||||
DOMAIN = "git.minhas.io"
|
||||
DB_TYPE = postgres
|
||||
DB_HOST = ivyking.node.masked.name
|
||||
DB_HOST = sedan.node.masked.name
|
||||
DB_NAME = gogs
|
||||
DB_USER = gogs
|
||||
DB_PASSWD = "{{ with secret "kv/data/gitea" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
|
|
|
@ -65,7 +65,7 @@ job "sudoscientist-go-backend" {
|
|||
data = <<EOH
|
||||
API_ADDR = https://api.sudoscientist.com
|
||||
API_PORT = 8080
|
||||
DB_HOST = ivyking.node.masked.name
|
||||
DB_HOST = sedan.node.masked.name
|
||||
DB_NAME = sudosci
|
||||
DB_PORT = 5432
|
||||
DB_PW = "{{ with secret "kv/data/sudoscientist/go-backend" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
|
|
|
@ -60,7 +60,7 @@ job "wallabag" {
|
|||
POSTGRES_USER = wallabag
|
||||
POSTGRES_PASSWORD = "{{ with secret "kv/data/wallabag" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
SYMFONY__ENV__DATABASE_DRIVER = pdo_pgsql
|
||||
SYMFONY__ENV__DATABASE_HOST = ivyking.node.masked.name
|
||||
SYMFONY__ENV__DATABASE_HOST = sedan.node.masked.name
|
||||
SYMFONY__ENV__DATABASE_PORT = 5432
|
||||
SYMFONY__ENV__DATABASE_NAME = wallabag
|
||||
SYMFONY__ENV__DATABASE_USER = wallabag
|
||||
|
|
Loading…
Reference in a new issue