Enlever le réseau du Docker Compose

This commit is contained in:
François Pelletier 2025-01-12 16:36:52 -05:00
parent a5403db464
commit d7840bb928
2 changed files with 5 additions and 10 deletions

View file

@ -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

View file

@ -20,5 +20,8 @@ set -a
source .env
set +a
# Run docker-compose
docker-compose up --build
# 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