refactor: revisado e melhora o docker compose

This commit is contained in:
Jean Gatto
2025-09-11 16:13:13 -03:00
parent 5938f9d6a4
commit 0ab356ddc6
10 changed files with 87 additions and 97 deletions
+8 -1
View File
@@ -68,10 +68,17 @@ After cloning the repository to the desired folder, run the command in the termi
dotnet clean Shop.sln --nologo /tl && dotnet build Shop.sln --nologo /tl
```
Set passwords in the `.env` file:
```yaml
MSSQL_SA_PASSWORD=YOUR_STRONG_!Passw0rd
REDIS_PASSWORD=YOUR_STRONG_!Passw0rd
```
Next step, run the command in the terminal:
```csharp
docker-compose up --build --abort-on-container-exit --remove-orphans
docker-compose up --build
```
Now just open the url in the browser: