Skip to content

Commit cc18aa0

Browse files
Changes order of containers in compose. Resources to the end
1 parent da7da06 commit cc18aa0

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

docker-compose.override.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,6 @@ services:
123123
ports:
124124
- "5100:80"
125125

126-
sql.data:
127-
environment:
128-
- SA_PASSWORD=Pass@word
129-
- ACCEPT_EULA=Y
130-
ports:
131-
- "5433:1433"
132-
133-
nosql.data:
134-
ports:
135-
- "27017:27017"
136-
137126
webstatus:
138127
environment:
139128
- ASPNETCORE_ENVIRONMENT=Development
@@ -170,3 +159,14 @@ services:
170159
- AzureServiceBusEnabled=False
171160
ports:
172161
- "5109:80"
162+
163+
sql.data:
164+
environment:
165+
- SA_PASSWORD=Pass@word
166+
- ACCEPT_EULA=Y
167+
ports:
168+
- "5433:1433"
169+
170+
nosql.data:
171+
ports:
172+
- "27017:27017"

docker-compose.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,6 @@ services:
8282
- basket.api
8383
- marketing.api
8484

85-
sql.data:
86-
image: microsoft/mssql-server-linux
87-
88-
nosql.data:
89-
image: mongo
90-
91-
basket.data:
92-
image: redis
93-
ports:
94-
- "6379:6379"
95-
96-
rabbitmq:
97-
image: rabbitmq
98-
ports:
99-
- "5672:5672"
100-
10185
webstatus:
10286
image: eshop/webstatus:${TAG:-latest}
10387
build:
@@ -120,3 +104,19 @@ services:
120104
depends_on:
121105
- nosql.data
122106
- rabbitmq
107+
108+
sql.data:
109+
image: microsoft/mssql-server-linux
110+
111+
nosql.data:
112+
image: mongo
113+
114+
basket.data:
115+
image: redis
116+
ports:
117+
- "6379:6379"
118+
119+
rabbitmq:
120+
image: rabbitmq
121+
ports:
122+
- "5672:5672"

0 commit comments

Comments
 (0)