add fluentd logging to other containers
This commit is contained in:
@@ -19,12 +19,12 @@ services:
|
||||
# options:
|
||||
# syslog-address: "tcp+tls://logs6.papertrailapp.com:38577"
|
||||
# tag: "{{.Name}}/{{.ID}}"
|
||||
#
|
||||
# logging:
|
||||
# driver: fluentd
|
||||
# options:
|
||||
# fluentd-address: "logs.xai-corp.net:24224"
|
||||
# tag: sslproxy
|
||||
|
||||
logging:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
tag: sslproxy
|
||||
|
||||
# logging:
|
||||
# driver: syslog
|
||||
@@ -34,10 +34,19 @@ services:
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
replicas: 3
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 10
|
||||
# update_config:
|
||||
# parallelism: 2
|
||||
# delay: 2s
|
||||
# order: start-first
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.1'
|
||||
memory: 16M
|
||||
|
||||
labels:
|
||||
net.xai-corp.sslproxy.description: proxy ssl calls to non ssl containers
|
||||
|
||||
Reference in New Issue
Block a user