-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #96176 - logspout - Release 3.2.5
- Loading branch information
Showing
3 changed files
with
39 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
logspout: | ||
restart: always | ||
environment: | ||
LOGSPOUT: 'ignore' | ||
ROUTE_URIS: "${route_uri}" | ||
log_driver: '' | ||
labels: | ||
io.rancher.scheduler.global: 'true' | ||
io.rancher.scheduler.affinity:host_label_ne: logspout=ignore | ||
io.rancher.container.hostname_override: container_name | ||
tty: true | ||
log_opt: {} | ||
image: rancher/logspout-logstash:v0.2.0 | ||
volumes: | ||
version: "2" | ||
services: | ||
logspout: | ||
image: gliderlabs/logspout:v3.2.5 | ||
environment: | ||
BACKLOG: "false" | ||
LOGSPOUT: "ignore" | ||
SYSLOG_FORMAT: "${format}" | ||
labels: | ||
io.rancher.scheduler.global: 'true' | ||
io.rancher.scheduler.affinity:host_label_ne: logspout=ignore | ||
io.rancher.container.hostname_override: container_name | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
stdin_open: true | ||
command: | ||
- "${route_uri}" |
43 changes: 21 additions & 22 deletions
43
infra-templates/logcentral-logspout/1/rancher-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
.catalog: | ||
name: Logcentral Logspout | ||
version: 0.2.0-1 | ||
description: | | ||
Logspout is a log router for Docker containers. | ||
version: "2" | ||
catalog: | ||
name: "EEA - Logspout" | ||
version: "3.2.5" | ||
uuid: "logcentral-logspout-1" | ||
description: "Logspout is a log router for Docker containers" | ||
questions: | ||
- variable: "route_uri" | ||
label: "Logspout route for logs" | ||
type: "string" | ||
required: true | ||
default: "syslog://logs.apps.eea.europa.eu:1514" | ||
description: | | ||
This will be the target where all logs are sent. | ||
- variable: "format" | ||
label: "Format" | ||
type: "enum" | ||
options: | ||
- "rfc5424" | ||
- "rfc3164" | ||
required: true | ||
default: "rfc5424" | ||
description: | | ||
The Syslog format to use. If not certain, use rfc5424 | ||
- variable: "route_uri" | ||
label: "Logspout route for logs" | ||
type: "string" | ||
required: true | ||
default: "syslog://logs.apps.eea.europa.eu:1514" | ||
description: "This will be the target where all logs are sent" | ||
- variable: "format" | ||
label: "Format" | ||
type: "enum" | ||
options: | ||
- "rfc5424" | ||
- "rfc3164" | ||
required: true | ||
default: "rfc5424" | ||
description: "The Syslog format to use. If not certain, use rfc5424" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters