kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
c35bbf68d5
commit
d847a1cda1
|
@ -10,6 +10,7 @@ title: syslog-ng
|
||||||
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-syslog-ng/releases)
|
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-syslog-ng/releases)
|
||||||
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-syslog-ng/packages)
|
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-syslog-ng/packages)
|
||||||
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-syslog-ng/container_registry)
|
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-syslog-ng/container_registry)
|
||||||
|
[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/syslog-ng)
|
||||||
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/syslog-ng)
|
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/syslog-ng)
|
||||||
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/syslog-ng)
|
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/syslog-ng.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/syslog-ng)
|
||||||
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-syslog-ng%2Fjob%2Fmain%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-syslog-ng/job/main/)
|
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-syslog-ng%2Fjob%2Fmain%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-syslog-ng/job/main/)
|
||||||
|
@ -21,7 +22,7 @@ title: syslog-ng
|
||||||
|
|
||||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||||
|
|
||||||
Simply pulling `ghcr.io/linuxserver/syslog-ng` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
Simply pulling `lscr.io/linuxserver/syslog-ng` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||||
|
|
||||||
The architectures supported by this image are:
|
The architectures supported by this image are:
|
||||||
|
|
||||||
|
@ -48,7 +49,7 @@ To help you get started creating a container from this image you can either use
|
||||||
version: "2.1"
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
syslog-ng:
|
syslog-ng:
|
||||||
image: ghcr.io/linuxserver/syslog-ng
|
image: lscr.io/linuxserver/syslog-ng
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
|
@ -78,7 +79,7 @@ docker run -d \
|
||||||
-v /path/to/config:/config \
|
-v /path/to/config:/config \
|
||||||
-v /path/to/log:/var/log `#optional` \
|
-v /path/to/log:/var/log `#optional` \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
ghcr.io/linuxserver/syslog-ng
|
lscr.io/linuxserver/syslog-ng
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
@ -108,6 +109,11 @@ Docker images are configured using parameters passed at runtime (such as those a
|
||||||
| `/config` | Stores config and application files |
|
| `/config` | Stores config and application files |
|
||||||
| `/var/log` | Stores logs collected by the syslog-ng service |
|
| `/var/log` | Stores logs collected by the syslog-ng service |
|
||||||
|
|
||||||
|
#### Miscellaneous Options
|
||||||
|
|
||||||
|
| Parameter | Function |
|
||||||
|
| :-----: | --- |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||||
|
@ -153,7 +159,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
||||||
* Container version number
|
* Container version number
|
||||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' syslog-ng`
|
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' syslog-ng`
|
||||||
* Image version number
|
* Image version number
|
||||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/syslog-ng`
|
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/syslog-ng`
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue