Skip to content

Commit

Permalink
fix: Add the appsettings.override files to the test containers
Browse files Browse the repository at this point in the history
  • Loading branch information
MH321Productions committed Feb 14, 2025
1 parent 4ce993c commit 7bcb69d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/compose.test.postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
command: psql -h postgres -U postgres -d enmeshed -f /app/sql-scripts/setup.sql

admin-cli:
volumes:
- ./appsettings.override.postgres.docker.json:/app/appsettings.override.json
environment:
Database__Provider: Postgres
Database__ConnectionString: "Server=postgres;Database=enmeshed;User Id=devices;Password=Passw0rd;Port=5432"
Expand Down
2 changes: 2 additions & 0 deletions .ci/compose.test.sqlserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ services:
command: bash -c " sleep 20 && /opt/mssql-tools/bin/sqlcmd -S sqlserver -U SA -P Passw0rd -i /app/sql-scripts/setup.sql"

admin-cli:
volumes:
- ./appsettings.override.sqlserver.docker.json:/app/appsettings.override.json
environment:
Database__Provider: SqlServer
Database__ConnectionString: "Server=sqlserver;Database=enmeshed;User Id=devices;Password=Passw0rd;TrustServerCertificate=True"
Expand Down

0 comments on commit 7bcb69d

Please sign in to comment.