From 800e842ab304ce2fcb1c126d491dac0770ad66ff Mon Sep 17 00:00:00 2001 From: ThellraAK Date: Wed, 21 Dec 2022 01:36:37 -0900 Subject: [PATCH] Removing Mariadb default open port (#2227) * Removing Mariadb default open port Removing the listening port 3306 for the DB, Docker networks will let the containers talk to one another. The existing setup would allow anyone to connect to the DB and use the default passwords. * Update docker-compose.mariadb-tika.yml Adding change to the other compose file to remove open port * Remove excess blank lines * Remove excess blank lines Co-authored-by: Felix E --- docker/compose/docker-compose.mariadb-tika.yml | 2 -- docker/compose/docker-compose.mariadb.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/docker/compose/docker-compose.mariadb-tika.yml b/docker/compose/docker-compose.mariadb-tika.yml index 22f69ba4f..4fe95a0b8 100644 --- a/docker/compose/docker-compose.mariadb-tika.yml +++ b/docker/compose/docker-compose.mariadb-tika.yml @@ -49,8 +49,6 @@ services: MARIADB_USER: paperless MARIADB_PASSWORD: paperless MARIADB_ROOT_PASSWORD: paperless - ports: - - "3306:3306" webserver: image: ghcr.io/paperless-ngx/paperless-ngx:latest diff --git a/docker/compose/docker-compose.mariadb.yml b/docker/compose/docker-compose.mariadb.yml index a18e0fb3e..11aab5068 100644 --- a/docker/compose/docker-compose.mariadb.yml +++ b/docker/compose/docker-compose.mariadb.yml @@ -45,8 +45,6 @@ services: MARIADB_USER: paperless MARIADB_PASSWORD: paperless MARIADB_ROOT_PASSWORD: paperless - ports: - - "3306:3306" webserver: image: ghcr.io/paperless-ngx/paperless-ngx:latest