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_db
- prod_cache - prod_cache
# logging: logging:
# driver: fluentd driver: fluentd
# options: options:
# fluentd-address: "logs.xai-corp.net:24224" fluentd-address: "logs.xai-corp.net:24224"
# fluentd-async-connect: 'true' fluentd-async-connect: 'true'
# tag: nextcloud tag: nextcloud
#
# web: # web:
# image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud-web:latest" # image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud-web:latest"

View File

@@ -32,3 +32,10 @@ services:
resources: resources:
limits: limits:
memory: 512M 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: ports:
- "443:443" - "443:443"
- "80:80" # required for letsencrypt - "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: deploy:
mode: replicated mode: replicated