Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit be8530d

Browse files
committed
rename containers
1 parent c1e90f9 commit be8530d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

compose.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
depends_on:
2626
azurite:
2727
condition: service_healthy
28-
db:
28+
sql-database:
2929
condition: service_healthy
3030
networks:
3131
- backend
@@ -69,7 +69,7 @@ services:
6969
depends_on:
7070
azurite:
7171
condition: service_healthy
72-
db:
72+
sql-database:
7373
condition: service_healthy
7474
volumes:
7575
- mesh-config-data:/azure-functions-host/Secrets/
@@ -96,8 +96,8 @@ services:
9696
networks:
9797
- backend
9898

99-
db:
100-
container_name: "db"
99+
sql-database:
100+
container_name: "sql-database"
101101
image: mcr.microsoft.com/mssql/server:2022-latest
102102
restart: always
103103
environment:
@@ -107,7 +107,7 @@ services:
107107
- "1433:1433"
108108
user: "root"
109109
volumes:
110-
- db-data:/var/opt/mssql
110+
- sql-database-data:/var/opt/mssql
111111
healthcheck:
112112
test: ["CMD-SHELL", "pgrep -f sqlservr || exit 1"]
113113
interval: 20s
@@ -117,15 +117,15 @@ services:
117117
networks:
118118
- backend
119119

120-
db-migrations:
121-
container_name: db-migrations
120+
sql-database-migrations:
121+
container_name: sql-database-migrations
122122
build:
123123
context: .
124124
dockerfile: src/ServiceLayer.Shared/Dockerfile.migrations
125125
args:
126126
DatabaseConnectionString: "${DatabaseConnectionString}"
127127
depends_on:
128-
db:
128+
sql-database:
129129
condition: service_healthy
130130
environment:
131131
DATABASE_NAME: "${DATABASE_NAME}"
@@ -141,8 +141,8 @@ networks:
141141
volumes:
142142
azurite-data:
143143
name: azurite-data
144-
db-data:
145-
name: db-data
144+
sql-database-data:
145+
name: sql-database-data
146146
driver: local
147147
mesh-config-data:
148148
name: mesh-config-data

0 commit comments

Comments
 (0)