mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-30 09:00:40 +03:00
Update syslog-ng (fixes Logdy startup race) (#5786)
This commit is contained in:
1 parent
bdea10f5e3
commit
b78ec4d2cf
2 files changed
+14
-3
No files matched your search
@@ -21,6 +21,14 @@ services:
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/config:/config
|
||||
- ${APP_DATA_DIR}/data/logs:/var/log
|
||||
# Logdy expands /data/*.log once at startup, so create the first matching
|
||||
# log file before the web service starts on fresh installs.
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "test -f /var/log/messages-kv.log || touch /var/log/messages-kv.log"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
|
||||
web:
|
||||
image: rickraven/logdy:0.17.1@sha256:a1438c758ed3735e9b06205168a3c63e39bd0895bc5f0cd1adf4ed2270ae66cb
|
||||
@@ -33,4 +41,5 @@ services:
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/logs:/data:ro
|
||||
depends_on:
|
||||
- syslog
|
||||
syslog:
|
||||
condition: service_healthy
|
||||
@@ -3,7 +3,7 @@ id: syslog-ng
|
||||
name: Syslog-ng
|
||||
tagline: Centralized syslog server with real-time web UI
|
||||
category: networking
|
||||
version: "4.10.2"
|
||||
version: "4.10.2-1"
|
||||
port: 5142
|
||||
description: >-
|
||||
Syslog-ng is a flexible, highly scalable syslog server that collects logs from all your
|
||||
@@ -34,7 +34,9 @@ gallery:
|
||||
- 2.webp
|
||||
- 3.webp
|
||||
- 4.webp
|
||||
releaseNotes: ""
|
||||
releaseNotes: >-
|
||||
Fixed an issue where the web log viewer could show 0 logs on fresh installs
|
||||
until the app was restarted.
|
||||
dependencies: []
|
||||
path: ""
|
||||
defaultUsername: ""
|
||||
|
||||
Reference in new issue
Block a user