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: