Enlever le réseau du Docker Compose
This commit is contained in:
parent
a5403db464
commit
d7840bb928
2 changed files with 5 additions and 10 deletions
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue