-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
readme-vars.yml
93 lines (90 loc) · 4.01 KB
/
readme-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
# project information
project_name: syslog-ng
project_url: "https://www.syslog-ng.com/products/open-source-log-management/"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/syslog-ng-logo.png"
project_blurb: "[syslog-ng]({{ project_url }}) allows you to flexibly collect, parse, classify, rewrite and correlate logs from across your infrastructure and store or route them to log analysis tools."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_blurb_optional_extras_enabled: false
# supported architectures
available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
opt_param_usage_include_env: true
opt_param_env_vars:
- {env_var: "LOG_TO_STDOUT", env_value: "", desc: "If set to `true` container will log to stdout, otherwise will log to `/config/log/`."}
param_usage_include_vols: true
param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Stores config and application files"}
opt_param_usage_include_vols: true
opt_param_volumes:
- {vol_path: "/var/log", vol_host_path: "/path/to/log", desc: "Stores logs collected by the syslog-ng service"}
param_usage_include_ports: true
param_ports:
- {external_port: "514", internal_port: "5514/udp", port_desc: "Syslog UDP"}
- {external_port: "601", internal_port: "6601/tcp", port_desc: "Syslog TCP"}
- {external_port: "6514", internal_port: "6514/tcp", port_desc: "Syslog TLS"}
readonly_supported: true
nonroot_supported: true
# application setup block
app_setup_block_enabled: true
app_setup_block: |
Edit `/config/syslog-ng.conf` to configure your logging sources and destinations.
The application pid, control file, etc. are all kept in /config so when using tools such as `syslog-ng-ctl` you need to specify the path e.g. `syslog-ng-ctl reload -c /config/syslog-ng.ctl`
More info at [syslog-ng](https://www.syslog-ng.com/technical-documents/list/syslog-ng-open-source-edition).
# init diagram
init_diagram: |
"syslog-ng:latest": {
docker-mods
base {
fix-attr +\nlegacy cont-init
}
docker-mods -> base
legacy-services
custom services
init-services -> legacy-services
init-services -> custom services
custom services -> legacy-services
legacy-services -> ci-service-check
init-migrations -> init-adduser
init-os-end -> init-config
init-config -> init-config-end
init-crontab-config -> init-config-end
init-syslog-ng-config -> init-config-end
init-config -> init-crontab-config
init-mods-end -> init-custom-files
base -> init-envfile
base -> init-migrations
init-config-end -> init-mods
init-mods-package-install -> init-mods-end
init-mods -> init-mods-package-install
init-adduser -> init-os-end
init-envfile -> init-os-end
init-custom-files -> init-services
init-config -> init-syslog-ng-config
init-services -> log-syslog-ng
init-services -> svc-cron
svc-cron -> legacy-services
init-services -> svc-syslog-ng
svc-syslog-ng -> legacy-services
}
Base Images: {
"baseimage-alpine:3.21"
}
"syslog-ng:latest" <- Base Images
# changelog
changelogs:
- {date: "20.12.24:", desc: "Rebase to Alpine 3.21."}
- {date: "24.09.24:", desc: "Add opt to log to stdout."}
- {date: "24.05.24:", desc: "Rebase to Alpine 3.20."}
- {date: "31.01.24:", desc: "Rebase to Alpine 3.19."}
- {date: "11.06.23:", desc: "Rebase to Alpine 3.18, deprecate armhf."}
- {date: "10.01.23:", desc: "Add paho-mqtt-c library as required by the syslog-ng documentation"}
- {date: "30.12.22:", desc: "Rebase to Alpine 3.17, add libdbi-drivers for SQL support."}
- {date: "01.10.22:", desc: "Rebase to Alpine 3.16, migrate to s6v3."}
- {date: "18.12.21:", desc: "Rebase to Alpine 3.15."}
- {date: "01.07.21:", desc: "Rebase to Alpine 3.14."}
- {date: "26.05.21:", desc: "Initial release."}