feat: update logging configuration for dummy, uptime, and media-centre modules

This commit is contained in:
Ben Martin 2024-08-04 11:05:15 +00:00
parent 42968a0d45
commit 8b7dc11327
Signed by: ben
GPG key ID: 859A655FCD290E4A
4 changed files with 134 additions and 96 deletions

View file

@ -1,5 +1,4 @@
{ {
"Job": {
"ID": "coder", "ID": "coder",
"Name": "Coder", "Name": "Coder",
"TaskGroups": [ "TaskGroups": [
@ -20,7 +19,15 @@
], ],
"group_add": [ "group_add": [
"998" "998"
] ],
"logging": {
"type": "elastic/elastic-logging-plugin:8.14.3",
"config": {
"hosts": "http://localhost:9200",
"user": "docker_writer",
"password": "oi*YWZSP_Ukd0y+pQ7EB"
}
}
}, },
"Env": { "Env": {
"CODER_PG_CONNECTION_URL": "postgresql://coder:reu2zeeth9BeeWai9ohl1tierea6ooze@${NOMAD_ADDR_database}/coder?sslmode=disable", "CODER_PG_CONNECTION_URL": "postgresql://coder:reu2zeeth9BeeWai9ohl1tierea6ooze@${NOMAD_ADDR_database}/coder?sslmode=disable",
@ -51,7 +58,15 @@
"target": "/var/lib/postgresql/data", "target": "/var/lib/postgresql/data",
"source": "coder-data" "source": "coder-data"
} }
] ],
"logging": {
"type": "elastic/elastic-logging-plugin:8.14.3",
"config": {
"hosts": "http://localhost:9200",
"user": "docker_writer",
"password": "oi*YWZSP_Ukd0y+pQ7EB"
}
}
}, },
"Env": { "Env": {
"POSTGRES_USER": "coder", "POSTGRES_USER": "coder",
@ -93,5 +108,4 @@
] ]
} }
] ]
}
} }

View file

@ -21,7 +21,15 @@
], ],
"ports": [ "ports": [
"www" "www"
] ],
"logging": {
"type": "elastic/elastic-logging-plugin:8.14.3",
"config": {
"hosts": "http://localhost:9200",
"user": "docker_writer",
"password": "oi*YWZSP_Ukd0y+pQ7EB"
}
}
}, },
"Templates": [ "Templates": [
{ {

View file

@ -36,7 +36,15 @@
"target": "/config", "target": "/config",
"source": "jellyfin-config" "source": "jellyfin-config"
} }
] ],
"logging": {
"type": "elastic/elastic-logging-plugin:8.14.3",
"config": {
"hosts": "http://localhost:9200",
"user": "docker_writer",
"password": "oi*YWZSP_Ukd0y+pQ7EB"
}
}
}, },
"Env": { "Env": {
"TZ": "Europe/London", "TZ": "Europe/London",

View file

@ -27,7 +27,15 @@
], ],
"extra_hosts": [ "extra_hosts": [
"host.docker.internal:host-gateway" "host.docker.internal:host-gateway"
] ],
"logging": {
"type": "elastic/elastic-logging-plugin:8.14.3",
"config": {
"hosts": "http://localhost:9200",
"user": "docker_writer",
"password": "oi*YWZSP_Ukd0y+pQ7EB"
}
}
}, },
"Resources": { "Resources": {
"CPU": 500, "CPU": 500,