refactor: update docker-compose files for improved configuration and add external volumes for MongoDB
This commit is contained in:
+10
-10
@@ -10,13 +10,13 @@
|
||||
*.dbproj merge=union
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
services:
|
||||
|
||||
shop-webapi:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Docker
|
||||
|
||||
+8
-1
@@ -37,7 +37,9 @@ services:
|
||||
- "1433:1433"
|
||||
environment:
|
||||
- ACCEPT_EULA=Y
|
||||
- SA_PASSWORD=pMA63033n6tF
|
||||
- MSSQL_SA_PASSWORD=pMA63033n6tF
|
||||
- MSSQL_PID=Developer
|
||||
- MSSQL_COLLATION=Latin1_General_CI_AI
|
||||
networks:
|
||||
- app-network
|
||||
volumes:
|
||||
@@ -67,7 +69,12 @@ services:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- app-network
|
||||
volumes:
|
||||
- "./data-mongo:/data/db"
|
||||
|
||||
volumes:
|
||||
data-mssql:
|
||||
external: true
|
||||
|
||||
data-mongo:
|
||||
external: true
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "9.0.103",
|
||||
"version": "9.0.201",
|
||||
"rollForward": "latestMajor",
|
||||
"allowPrerelease": false
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"SqlConnection": "Server=shop-sql-server;Integrated Security=true;Initial Catalog=ShopContext;User Id=sa;Password=pMA63033n6tF;Trusted_Connection=false;MultipleActiveResultSets=true;Encrypt=True;TrustServerCertificate=True;",
|
||||
"SqlConnection": "Server=shop-sql-server;Integrated Security=true;Initial Catalog=ShopContext;User Id=sa;Password=pMA63033n6tF;Trusted_Connection=False;TrustServerCertificate=True;",
|
||||
"NoSqlConnection": "mongodb://shop-mongo-server",
|
||||
"CacheConnection": "shop-redis:6379,password=pMA63033n6tF,abortConnect=false"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user