last try with graylog

This commit is contained in:
2017-06-18 10:23:50 -04:00
parent 5abf0f4ccc
commit 8bc3760fd4
3 changed files with 22 additions and 6 deletions

View File

@@ -26,13 +26,23 @@ services:
- "12201:12201/udp"
- "1514:1514/udp"
- "514:514/udp"
# logging:
# driver: gelf
# options:
# gelf-address: "udp://logs.xai-corp.net:12201"
deploy:
mode: replicated
replicas: 1
replicas: 2
restart_policy:
condition: any
condition: none
delay: "1s"
max_attempts: 3
resources:
limits:
cpus: '1'
memory: 1G
networks:
default:

View File

@@ -16,16 +16,22 @@ services:
default:
aliases:
- nosql
# logging:
# driver: gelf
# options:
# gelf-address: "udp://logs.xai-corp.net:12201"
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
delay: "1s"
max_attempts: 10
max_attempts: 3
resources:
limits:
cpus: '0.1'
cpus: '0.5'
memory: 512M
networks:

View File

@@ -1,6 +1,6 @@
---
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
# DOCKER_HOST=dkhost03:2376 docker stack deploy -c docker-compose.yml sslproxy
# DOCKER_HOST=dkhost03:2376 docker stack deploy --with-registry-auth -c docker-compose.yml sslproxy
version: '3'
services:
@@ -15,7 +15,7 @@ services:
- /etc/letsencrypt:/etc/letsencrypt:ro
ports:
- "443:443"
#
# logging:
# driver: gelf
# options: