From 43652e1015f97ff887184d81cd4e8ec107868738 Mon Sep 17 00:00:00 2001 From: Dex Burgess Date: Thu, 26 Sep 2024 06:02:39 +0000 Subject: [PATCH] Update databases.yaml --- databases.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/databases.yaml b/databases.yaml index 7bb11e0..84952b0 100644 --- a/databases.yaml +++ b/databases.yaml @@ -16,6 +16,10 @@ services: - INFLUXDB_DB=$INFLUX_DB - INFLUXDB_USER=$INFLUX_USER - INFLUX_USER_PASSWORD=$INFLUX_USER_PASSWORD + logging: + options: + max-size: "10m" + max-file: "3" chronograf: image: chronograf @@ -23,6 +27,10 @@ services: restart: unless-stopped environment: - INFLUXDB_URL=http://influxdb:8086 + logging: + options: + max-size: "10m" + max-file: "3" mariadb: image: linuxserver/mariadb @@ -36,6 +44,10 @@ services: - /dockers/mariadb:/config ports: - 3306:3306 + logging: + options: + max-size: "10m" + max-file: "3" mongo: image: mongo:4.4.29 @@ -44,6 +56,10 @@ services: volumes: - /dockers/mongo/data:/data/db - /dockers/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro + logging: + options: + max-size: "10m" + max-file: "3" mongo-express: image: mongo-express @@ -53,6 +69,10 @@ services: ME_CONFIG_MONGODB_ADMINUSERNAME: $MONGO_USER ME_CONFIG_MONGODB_ADMINPASSWORD: $MONGO_PASS ME_CONFIG_MONGODB_URL: mongodb://$MONGO_USER:$MONGO_PASS@mongo:27017/ + logging: + options: + max-size: "10m" + max-file: "3" phpmyadmin: image: phpmyadmin @@ -63,6 +83,10 @@ services: environment: - PMA_HOST=mariadb - PMA_PORT=3306 + logging: + options: + max-size: "10m" + max-file: "3" postgres: image: postgres:14.7-alpine @@ -74,6 +98,10 @@ services: - /dockers/postgres:/var/lib/postgresql/data ports: - 5432:5432 + logging: + options: + max-size: "10m" + max-file: "3" pgadmin4: image: dpage/pgadmin4 @@ -85,6 +113,10 @@ services: - PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=True - 'PGADMIN_CONFIG_LOGIN_BANNER="Authorised users only!"' - PGADMIN_CONFIG_CONSOLE_LOG_LEVEL=10 + logging: + options: + max-size: "10m" + max-file: "3" networks: default: