Skip to content

Commit f115806

Browse files
committed
Progress
1 parent a757992 commit f115806

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

Application/EdFi.Ods.AdminApi/appsettings.Development.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AppSettings": {
33
"MultiTenancy": false,
4-
"DatabaseEngine": "SqlServer",
4+
"DatabaseEngine": "PostgreSql",
55
"CreateDbInstancesSweepIntervalInMins": 5,
66
"CreateDbInstancesMaxRetryAttempts": 3,
77
"DeleteDbInstancesSweepIntervalInMins": 5,
@@ -29,19 +29,19 @@
2929
"AllowRegistration": true
3030
},
3131
/// PGSQL:
32-
//"ConnectionStrings": {
33-
// "EdFi_Admin": "host=localhost;port=5880;username=postgres;password=P@ssw0rd;database=EdFi_Admin;pooling=true",
34-
// "EdFi_Security": "host=localhost;port=5880;username=postgres;password=P@ssw0rd;database=EdFi_Security;pooling=true",
35-
// "EdFi_Ods": "host=localhost;port=5401;username=postgres;password=P@ssw0rd;database=EdFi_Ods;pooling=true",
36-
// "EdFi_Master": "host=localhost;port=5401;username=postgres;password=P@ssw0rd;database=postgres;pooling=true"
37-
//},
38-
/// MSSQL:
3932
"ConnectionStrings": {
40-
"EdFi_Admin": "Data Source=localhost,1435;Initial Catalog=EdFi_Admin;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
41-
"EdFi_Security": "Data Source=localhost,1435;Initial Catalog=EdFi_Security;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
42-
"EdFi_Ods": "Data Source=localhost,1434;Initial Catalog=EdFi_Ods;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
43-
"EdFi_Master": "Data Source=localhost,1434;Initial Catalog=master;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True"
33+
"EdFi_Admin": "host=localhost;port=5880;username=postgres;password=P@ssw0rd;database=EdFi_Admin;pooling=true",
34+
"EdFi_Security": "host=localhost;port=5880;username=postgres;password=P@ssw0rd;database=EdFi_Security;pooling=true",
35+
"EdFi_Ods": "host=localhost;port=5401;username=postgres;password=P@ssw0rd;database=EdFi_Ods;pooling=true",
36+
"EdFi_Master": "host=localhost;port=5401;username=postgres;password=P@ssw0rd;database=postgres;pooling=true"
4437
},
38+
/// MSSQL:
39+
//"ConnectionStrings": {
40+
// "EdFi_Admin": "Data Source=localhost,1435;Initial Catalog=EdFi_Admin;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
41+
// "EdFi_Security": "Data Source=localhost,1435;Initial Catalog=EdFi_Security;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
42+
// "EdFi_Ods": "Data Source=localhost,1434;Initial Catalog=EdFi_Ods;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True",
43+
// "EdFi_Master": "Data Source=localhost,1434;Initial Catalog=master;Integrated Security=False;User Id=sa;Password=P@55w0rd;Encrypt=True;TrustServerCertificate=True"
44+
//},
4545
"SwaggerSettings": {
4646
"EnableSwagger": true,
4747
"DefaultTenant": "tenant1"

Docker/V2/Compose/pgsql/SingleTenant/compose-build-ods.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
MINIMAL_SQL_PATH: "${MINIMAL_SQL_PATH:-/sql-backups/EdFi.Ods.Minimal.Template.sql}"
1717
POPULATED_SQL_PATH: "${POPULATED_SQL_PATH:-/sql-backups/EdFi.Ods.Populated.Template.sql}"
1818
volumes:
19-
- ${SQL_BACKUPS_FOLDER:-./sql-backups}:/sql-backups:ro
19+
- ${SQL_BACKUPS_FOLDER:-C:/pgsqlBak/}:/var/opt/pgsql/data/sql-backups/:ro
2020
- vol-db-ods:/var/lib/postgresql/data
2121
ports:
2222
- 5401:5432

0 commit comments

Comments
 (0)