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