[RC] Add Elastic labels for filebeat autodiscover hints

This commit is contained in:
thopic 2021-10-18 23:30:00 +02:00
parent 701addfdbe
commit 47b15ece2d
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -30,6 +30,8 @@ services:
- "traefik.http.routers.rc-https.entrypoints=websecure" - "traefik.http.routers.rc-https.entrypoints=websecure"
- "traefik.http.routers.rc-https.tls=true" - "traefik.http.routers.rc-https.tls=true"
- "traefik.http.routers.rc-https.tls.certresolver=myhttpchallenge" - "traefik.http.routers.rc-https.tls.certresolver=myhttpchallenge"
- "co.elastic.logs/module=apache"
- "co.elastic.logs/fileset=access"
db: db:
image: mariadb:10.5 image: mariadb:10.5
@ -37,6 +39,8 @@ services:
volumes: volumes:
- ${DATA_PATH}/db:/var/lib/mysql - ${DATA_PATH}/db:/var/lib/mysql
env_file: secrets/db.secrets env_file: secrets/db.secrets
labels:
- "co.elastic.logs/module=mysql"
networks: networks:
proxy: proxy: