Skip to content

Commit

Permalink
Update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tsulim committed Oct 4, 2024
1 parent d9d8994 commit 400b094
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ services:
ports:
- 5000:5000 # Maps port 5000 on the host to port 5000 in the container, making the app accessible on the host.
volumes:
- ./backend/question-service:/app/question # Mounts the host directory './backend/question-service' to '/app/question' in the container.
- /app/question/node_modules # Anonymous Volume
- ./backend/question-service:/app # Mounts the host directory './backend/question-service' to '/app' in the container.
- /app/node_modules # Anonymous Volume
networks:
- peerprep-network # Connects the question-service to the 'peerprep-network' network.

Expand All @@ -18,8 +18,8 @@ services:
ports:
- 5001:5001 # Maps port 5001 on the host to port 5001 in the container, making the app accessible on the host.
volumes:
- ./backend/user-service:/app/user # Mounts the host directory './backend/user-service' to '/app/user' in the container.
- /app/user/node_modules # Anonymous Volume
- ./backend/user-service:/app # Mounts the host directory './backend/user-service' to '/app' in the container.
- /app/node_modules # Anonymous Volume
networks:
- peerprep-network # Connects the user-service to the 'peerprep-network' network.

Expand Down

0 comments on commit 400b094

Please sign in to comment.