add fluentd to sslproxy and nextcloud

This commit is contained in:
2018-04-07 21:23:08 -04:00
parent 5ef4e41d85
commit ac7265a752
3 changed files with 20 additions and 26 deletions

View File

@@ -51,13 +51,13 @@ services:
- prod_db
- prod_cache
# logging:
# driver: fluentd
# options:
# fluentd-address: "logs.xai-corp.net:24224"
# fluentd-async-connect: 'true'
# tag: nextcloud
#
logging:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: nextcloud
# web:
# image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud-web:latest"

View File

@@ -32,3 +32,10 @@ services:
resources:
limits:
memory: 512M
logging:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: datadog

View File

@@ -18,26 +18,13 @@ services:
ports:
- "443:443"
- "80:80" # required for letsencrypt
#
# logging:
# driver: fluentd
# options:
# fluentd-address: "logs.xai-corp.net:24224"
# fluentd-async-connect: 'true'
# tag: sslproxy
# logging:
# driver: syslog
# options:
# syslog-address: "udp://logs.xai-corp.net:31514"
# tag: sslproxy
# logging:
# driver: syslog
# options:
# syslog-address: "tcp+tls://logs6.papertrailapp.com:38577"
# tag: "{{.Name}}/{{.ID}}"
logging:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: sslproxy
deploy:
mode: replicated