syslog: change it to unix domain socket

docker is using a extra udp port for every container. when there is
a lot of containers, a lot of random udp ports get used up. this causes
problems when installing apps that require contiguous port ranges
This commit is contained in:
Girish Ramakrishnan
2024-03-21 17:30:50 +01:00
parent 8e07b3c96d
commit 104997d77c
10 changed files with 40 additions and 34 deletions

View File

@@ -345,7 +345,7 @@ async function createSubcontainer(app, name, cmd, options) {
Type: 'syslog',
Config: {
'tag': app.id,
'syslog-address': 'udp://127.0.0.1:2514', // see apps.js:validatePortBindings()
'syslog-address': `unix://${paths.SYSLOG_SOCKET_FILE}`,
'syslog-format': 'rfc5424'
}
},