Fix lidarr to use postgres db creds

This commit is contained in:
IamTheFij 2023-08-29 12:52:26 -07:00
parent f5898b0283
commit 769965ae6b

View File

@ -8,10 +8,10 @@ job "lidarr" {
task "Backup main database" { task "Backup main database" {
postgres "Backup database" { postgres "Backup database" {
hostname = env("MYSQL_HOST") hostname = env("POSTGRES_HOST")
port = env("MYSQL_PORT") port = env("POSTGRES_PORT")
username = env("MYSQL_USER") username = env("POSTGRES_USER")
password = env("MYSQL_PASSWORD") password = env("POSTGRES_PASSWORD")
database = "lidarr" database = "lidarr"
no_tablespaces = true no_tablespaces = true
dump_to = "/data/nas-container/lidarr/Backups/dump-lidarr.sql" dump_to = "/data/nas-container/lidarr/Backups/dump-lidarr.sql"
@ -20,10 +20,10 @@ job "lidarr" {
task "Backup logs database" { task "Backup logs database" {
postgres "Backup database" { postgres "Backup database" {
hostname = env("MYSQL_HOST") hostname = env("POSTGRES_HOST")
port = env("MYSQL_PORT") port = env("POSTGRES_PORT")
username = env("MYSQL_USER") username = env("POSTGRES_USER")
password = env("MYSQL_PASSWORD") password = env("POSTGRES_PASSWORD")
database = "lidarr-logs" database = "lidarr-logs"
no_tablespaces = true no_tablespaces = true
dump_to = "/data/nas-container/lidarr/Backups/dump-lidarr-logs.sql" dump_to = "/data/nas-container/lidarr/Backups/dump-lidarr-logs.sql"