From aaf04367e61b4d83cc3f3eeb7854aeaaee637b02 Mon Sep 17 00:00:00 2001 From: Gautier DELEGLISE Date: Mon, 20 Sep 2021 11:11:45 +0200 Subject: [PATCH 1/3] :bug: duplicates apt-get install --- php-fpm/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index d6638a9e..3ec7ecdd 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -787,7 +787,7 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ ARG INSTALL_SMB=false RUN if [ ${INSTALL_SMB} = true ]; then \ - apt-get install apt-get install -yqq smbclient libsmbclient-dev coreutils && \ + apt-get install -yqq smbclient libsmbclient-dev coreutils && \ pecl install smbclient && \ docker-php-ext-enable smbclient \ ;fi From 147ff33530b6ec40c75de303a97bc49f158042a7 Mon Sep 17 00:00:00 2001 From: Gautier DELEGLISE Date: Mon, 20 Sep 2021 11:13:00 +0200 Subject: [PATCH 2/3] :sparkles: added mongo credentials --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 0538fe9f..796d3d60 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -656,6 +656,9 @@ services: build: ./mongo ports: - "${MONGODB_PORT}:27017" + environment: + - MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME} + - MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD} volumes: - ${DATA_PATH_HOST}/mongo:/data/db - ${DATA_PATH_HOST}/mongo_config:/data/configdb From 00a3e0cb64782ae8df4cf4386f431316f1380945 Mon Sep 17 00:00:00 2001 From: Gautier DELEGLISE Date: Mon, 20 Sep 2021 11:13:47 +0200 Subject: [PATCH 3/3] :sparkles: added mongo credentials --- .env.example | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.env.example b/.env.example index bad14536..4cb24645 100644 --- a/.env.example +++ b/.env.example @@ -612,6 +612,8 @@ RETHINKDB_PORT=8090 ### MONGODB ############################################### MONGODB_PORT=27017 +MONGO_USERNAME=root +MONGO_PASSWORD=example ### CADDY #################################################