Skip to content

Commit

Permalink
Uncomment docker compose volumes for backend and frontend service.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Aug 13, 2024
1 parent bc31a55 commit bde95d3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ services:
npm run serve"
ports:
- "8080:8080"
# volumes:
# - type: bind
# source: ./app/frontend
# target: /app/frontend
# - /app/frontend/node_modules/
volumes:
- type: bind
source: ./frontend
target: /frontend
- /frontend/node_modules/
depends_on:
- backend
networks:
Expand Down Expand Up @@ -205,15 +205,15 @@ services:
python3 manage.py collectstatic --noinput &&
python3 manage.py export --cleanup=1 --upload=1 &&
python3 manage.py runserver 0.0.0.0:8000"
# volumes:
# - type: bind
# source: ./backend
# target: /backend
# consistency: cached
# - type: bind
# source: ./backend-command-script.sh
# target: /backend-command-script.sh
# consistency: cached
volumes:
- type: bind
source: ./backend
target: /backend
consistency: cached
# - type: bind
# source: ./backend-command-script.sh
# target: /backend-command-script.sh
# consistency: cached
ports:
- "8000:8000"
- "3000:3000"
Expand Down

0 comments on commit bde95d3

Please sign in to comment.