From d7840bb9281c30e562d599ad64817a97f9ce85b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Sun, 12 Jan 2025 16:36:52 -0500 Subject: [PATCH] =?UTF-8?q?Enlever=20le=20r=C3=A9seau=20du=20Docker=20Comp?= =?UTF-8?q?ose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 8 -------- run_docker_compose.sh | 7 +++++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7cc5064..5339e18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,8 +12,6 @@ services: - USERNAME=${USERNAME} - PASS_HASH=${PASS_HASH} - ALGORITHM=${ALGORITHM} - networks: - - fabriquedoc frontend: build: @@ -25,9 +23,3 @@ services: - backend environment: - FABRIQUEDOC_ENDPOINT=${FABRIQUEDOC_ENDPOINT} - networks: - - fabriquedoc - -networks: - fabriquedoc: - name: fabriquedoc \ No newline at end of file diff --git a/run_docker_compose.sh b/run_docker_compose.sh index f282613..3cacc7b 100644 --- a/run_docker_compose.sh +++ b/run_docker_compose.sh @@ -20,5 +20,8 @@ set -a source .env set +a -# Run docker-compose -docker-compose up --build \ No newline at end of file +# Set a custom project name (which will be used for the network name) +PROJECT_NAME="fabriquedoc" + +# Run docker-compose with the custom project name +docker-compose --project-name $PROJECT_NAME up --build \ No newline at end of file