Skip to content

Commit

Permalink
Adds new cdm-builder settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
alondhe committed Sep 11, 2023
1 parent bae0945 commit 4302126
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ services:
container_name: perseus-cdm-builder
ports:
- "9000:9000"
volumes:
- ./perseus/cdm-builder/appsettings.Docker.json:/app/appsettings.Docker.json
environment:
- ASPNETCORE_ENVIRONMENT=Docker
#depends_on:
Expand Down
47 changes: 47 additions & 0 deletions perseus/cdm-builder/appsettings.Docker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"CorsUrl": "http://localhost:9000",

"Postgre": "Driver={PostgreSQL UNICODE};Server={server};Port={port};Database={database};Uid={username};Pwd={password};sslmode=require;UseDeclareFetch=1;",
"PostgreSQL": "Driver={PostgreSQL UNICODE};Server={server};Port={port};Database={database};Uid={username};Pwd={password};sslmode=require;UseDeclareFetch=1;",
"mysql": "DRIVER={MySQL ODBC 8.0 UNICODE Driver};SERVER={server};Port={port};DATABASE={database};USER={username};PASSWORD={password};",
"mssql": "Driver={ODBC Driver 17 for SQL Server};Server={server};Port={port};Database={database};Uid={username};Pwd={password};",
"azure": "Driver={ODBC Driver 17 for SQL Server};Server={server};Port={port};Database={database};Uid={username};Pwd={password};",
"databricks": "Driver={Simba Spark ODBC Driver};Host={server};Port={port};UseNativeQuery=1;HTTPPath={username};ThriftTransport=2;SSL=1;AuthMech=3;UID=token;PWD={password}",

"AllowedHosts": "*",
"UseAureFunctions": "False",

"VaultURI": "",

"BuilderSecretKey": "00000000000000000000000000000000",

"SharedDbHost": "perseus-shareddb",
"SharedDbPort": 5432,
"SharedDbName": "shared",
"SharedDbBuilderUser": "builder",
"SharedDbBuilderPass": "password",

"FilesManagerUrl": "http://perseus-files-manager:10500/files-manager",
"SourceDbType": "PostgreSQL",
"SourceDbHost": "perseus-shareddb",
"SourceDbPort": 5432,
"SourceDbUser": "source",
"SourceDbPass": "password",

"VocabularyDbType": "PostgreSQL",
"VocabularyDbHost": "perseus-vocabularydb",
"VocabularyDbPort": 5432,
"VocabularyDbName": "vocabulary",
"VocabularyDbSchema": "vocabulary",
"VocabularyDbUser": "vocabulary",
"VocabularyDbPass": "password",

"BuilderAzureFunctionsUrl": ""
}

0 comments on commit 4302126

Please sign in to comment.