mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Refactor UserAccount repository methods and add stored procedures for user account management
This commit is contained in:
@@ -3,15 +3,15 @@ services:
|
||||
image: mcr.microsoft.com/mssql/server:2022-latest
|
||||
platform: linux/amd64
|
||||
container_name: sqlserver
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
ACCEPT_EULA: "Y"
|
||||
SA_PASSWORD: "YourStrong!Passw0rd"
|
||||
ports:
|
||||
- "1433:1433"
|
||||
SA_PASSWORD: "${SA_PASSWORD}"
|
||||
volumes:
|
||||
- sqlserverdata:/var/opt/mssql
|
||||
healthcheck:
|
||||
test: [ "CMD", "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "YourStrong!Passw0rd", "-Q", "SELECT 1" ]
|
||||
test: [ "CMD", "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "${SA_PASSWORD}", "-Q", "SELECT 1" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
@@ -21,8 +21,8 @@ services:
|
||||
redis:
|
||||
image: redis:7
|
||||
container_name: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- devnet
|
||||
healthcheck:
|
||||
@@ -32,7 +32,7 @@ services:
|
||||
retries: 5
|
||||
|
||||
dotnet:
|
||||
image: mcr.microsoft.com/dotnet/sdk:9.0
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||
container_name: dotnet-sdk
|
||||
tty: true
|
||||
stdin_open: true
|
||||
@@ -45,8 +45,8 @@ services:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
||||
HOME: /home/dev
|
||||
USER: dev
|
||||
DB_CONNECTION_STRING: "Server=sqlserver,1433;User Id=sa;Password=YourStrong!Passw0rd;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;Database=Biergarten;"
|
||||
REDIS_URL: "redis:6379"
|
||||
DB_CONNECTION_STRING: "Server=sqlserver,1433;User Id=sa;Password=${SA_PASSWORD};Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;Database=${DB_NAME};"
|
||||
REDIS_URL: "${REDIS_URL}"
|
||||
user: root
|
||||
networks:
|
||||
- devnet
|
||||
|
||||
Reference in New Issue
Block a user