Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jai2501 authored Nov 17, 2023
1 parent 06523d6 commit 0064372
Showing 1 changed file with 0 additions and 91 deletions.
91 changes: 0 additions & 91 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,6 @@ services:
networks:
- peer-prep-network

history-service:
build: ./HistoryService
ports:
- 3006:3006
volumes:
- ./HistoryService:/app
- /app/node_modules # Anonymous Volume
networks:
- peer-prep-network
depends_on:
- history-service-database

history-service-database:
image: mysql:latest
ports:
- 3306:3306
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=1
networks:
- peer-prep-network

question-service:
build: ./QuestionService
ports:
Expand All @@ -71,81 +50,11 @@ services:
networks:
- peer-prep-network

matching-service:
build: ./MatchingService
ports:
- "3004:3004"
depends_on:
- matching-service-database
- rabbitmq
networks:
- peer-prep-network

matching-service-database:
image: mongo:latest
ports:
- "27020:27017"
volumes:
- matching_service_database_volume:/data/db
networks:
- peer-prep-network

# Rabbitmq service
rabbitmq:
image: rabbitmq:latest
ports:
# AMQP protocol port
- "5672:5672"
# HTTP management UI
- "15672:15672"
networks:
- peer-prep-network

collaboration-service:
build: ./CollaborationService
ports:
- "3005:3005"
depends_on:
- collaboration-service-database
networks:
- peer-prep-network

collaboration-service-database:
image: mongo:latest
ports:
- "27021:27017"
volumes:
- collaboration_service_database_volume:/data/db
networks:
- peer-prep-network

communication-service:
build: ./CommunicationService
ports:
- "3007:3007"
networks:
- peer-prep-network

gpt-service:
build: ./GptService
ports:
- "3008:3008"
env_file:
- ./GptService/.env
networks:
- peer-prep-network

networks:
peer-prep-network:
driver: bridge

volumes:
matching_service_database_volume:
driver: local

collaboration_service_database_volume:
driver: local

question_service_database_volume:
driver: local

Expand Down

0 comments on commit 0064372

Please sign in to comment.