This commit is contained in:
Aleksander Cynarski 2018-12-16 13:09:43 +01:00
parent d69ac19d36
commit 64d0aa8b3d
2 changed files with 8 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
tags
storage
influxdb/

View File

@ -23,12 +23,13 @@ services:
depends_on:
- consul
image: gliderlabs/registrator:master
command: -internal consul://consul:8500
command: -ttl=120 -ttl-refresh=10 -cleanup=true -resync=10 -internal consul://consul:8500
volumes:
- /var/run/docker.sock:/tmp/docker.sock
links:
- consul
environment:
SERVICE_NAME: registrator
portainer:
@ -38,7 +39,7 @@ services:
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
- ./storage/portainer:/data
fluentd:
build: ./fluentd
@ -51,8 +52,10 @@ services:
ports:
- 24224:24224
environment:
SERVICE_24224_NAME: 'fluentd'
SERVICE_5140_NAME: 'fluentd'
SERVICE_24224_NAME: 'myenv'
SERVICE_24224_TAG: 'udp'
SERVICE_5140_NAME: 'myenv'
SERVICE_TAG: 'fluent'
influxdb:
image: influxdb:latest
@ -65,6 +68,3 @@ services:
INFLUXDB_REPORTING_DISABLED: 'false'
SERVICE_8086_NAME: 'influxdb'
volumes:
portainer_data: