add fluentd to sslproxy and nextcloud
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user