Skip to content

Commit

Permalink
fix: dockers.sh : adjust to multi .env config
Browse files Browse the repository at this point in the history
  • Loading branch information
edelclaux committed Dec 20, 2023
1 parent 7157d29 commit 94f5c02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ mkdir -p media
cp -r frontend/src/assets/* media/.

# Down everything
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down
docker-compose --env-file .env --env-file .env.prod -f docker-compose.yml -f docker-compose.prod.yml down

# Launch everything in detached mode
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build -d
docker-compose --env-file .env --env-file .env.prod -f docker-compose.yml -f docker-compose.prod.yml up --build -d

# DEV : docker-compose up -d

0 comments on commit 94f5c02

Please sign in to comment.