[NC] Add elastic labels for db

This commit is contained in:
thopic 2021-11-10 01:29:40 +01:00
parent f1f3f4ff61
commit 71c5df980d
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -38,6 +38,8 @@ services:
- ${DATA_PATH}/my.cnf:/etc/mysql/my.cnf:ro - ${DATA_PATH}/my.cnf:/etc/mysql/my.cnf:ro
- ${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"
app: app:
image: nextcloud:21.0.5 image: nextcloud:21.0.5