Skip to content

Commit 328e5d6

Browse files
committed
docker wait problem fixed wtih restart on-failure
1 parent 09f6f92 commit 328e5d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.override.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ services:
6161

6262
ordering.api:
6363
container_name: orderingapi
64+
restart: on-failure
6465
environment:
6566
- ASPNETCORE_ENVIRONMENT=Development
6667
- "ConnectionStrings:OrderConnection=Server=orderdb;Database=OrderDb;User Id=sa;Password=SwN12345678"
6768
- "EventBus:HostName=rabbitmq"
6869
depends_on:
6970
- orderdb
70-
- rabbitmq
71+
- rabbitmq
7172
volumes:
7273
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
7374
- ${HOME}/.aspnet/https:/root/.aspnet/https/

0 commit comments

Comments
 (0)