Skip to content

Commit

Permalink
feat: Added restart option!
Browse files Browse the repository at this point in the history
on test cases rabbitMQ is becoming down and it is always making some test cases to fail.
  • Loading branch information
amindadgar committed Jul 2, 2024
1 parent aaec027 commit 5cb3fa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
condition: service_healthy
mongo:
image: "mongo:6.0.8"
restart: always
attach: false
environment:
- MONGO_INITDB_ROOT_USERNAME=root
Expand All @@ -54,6 +55,7 @@ services:
start_period: 40s
neo4j:
image: "neo4j:5.9.0"
restart: always
attach: false
environment:
- NEO4J_AUTH=neo4j/password
Expand All @@ -67,6 +69,7 @@ services:
start_period: 40s
rabbitmq:
image: "rabbitmq:3-management-alpine"
restart: always
environment:
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=pass
Expand Down

0 comments on commit 5cb3fa7

Please sign in to comment.