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
|
*.dbproj merge=union
|
||||||
|
|
||||||
# Standard to msysgit
|
# Standard to msysgit
|
||||||
*.doc diff=astextplain
|
*.doc diff=astextplain
|
||||||
*.DOC diff=astextplain
|
*.DOC diff=astextplain
|
||||||
*.docx diff=astextplain
|
*.docx diff=astextplain
|
||||||
*.DOCX diff=astextplain
|
*.DOCX diff=astextplain
|
||||||
*.dot diff=astextplain
|
*.dot diff=astextplain
|
||||||
*.DOT diff=astextplain
|
*.DOT diff=astextplain
|
||||||
*.pdf diff=astextplain
|
*.pdf diff=astextplain
|
||||||
*.PDF diff=astextplain
|
*.PDF diff=astextplain
|
||||||
*.rtf diff=astextplain
|
*.rtf diff=astextplain
|
||||||
*.RTF diff=astextplain
|
*.RTF diff=astextplain
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
shop-webapi:
|
shop-webapi:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Docker
|
- ASPNETCORE_ENVIRONMENT=Docker
|
||||||
|
|||||||
+8
-1
@@ -37,7 +37,9 @@ services:
|
|||||||
- "1433:1433"
|
- "1433:1433"
|
||||||
environment:
|
environment:
|
||||||
- ACCEPT_EULA=Y
|
- ACCEPT_EULA=Y
|
||||||
- SA_PASSWORD=pMA63033n6tF
|
- MSSQL_SA_PASSWORD=pMA63033n6tF
|
||||||
|
- MSSQL_PID=Developer
|
||||||
|
- MSSQL_COLLATION=Latin1_General_CI_AI
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
volumes:
|
volumes:
|
||||||
@@ -67,7 +69,12 @@ services:
|
|||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
volumes:
|
||||||
|
- "./data-mongo:/data/db"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data-mssql:
|
data-mssql:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
data-mongo:
|
||||||
|
external: true
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"sdk": {
|
"sdk": {
|
||||||
"version": "9.0.103",
|
"version": "9.0.201",
|
||||||
"rollForward": "latestMajor",
|
"rollForward": "latestMajor",
|
||||||
"allowPrerelease": false
|
"allowPrerelease": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"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",
|
"NoSqlConnection": "mongodb://shop-mongo-server",
|
||||||
"CacheConnection": "shop-redis:6379,password=pMA63033n6tF,abortConnect=false"
|
"CacheConnection": "shop-redis:6379,password=pMA63033n6tF,abortConnect=false"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user