From f489a130d14e33494c8fcab8f04d5434349a1334 Mon Sep 17 00:00:00 2001 From: TSS Date: Wed, 1 Oct 2025 15:35:52 +0000 Subject: [PATCH] no secrets in git --- HaWeb/.gitignore | 3 +++ HaWeb/appsettings.Docker.json | 28 ---------------------------- HaWeb/appsettings.Staging.json | 25 ------------------------- docker-compose.staging.yml | 1 - docker-compose.yml | 1 - 5 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 HaWeb/appsettings.Docker.json delete mode 100644 HaWeb/appsettings.Staging.json diff --git a/HaWeb/.gitignore b/HaWeb/.gitignore index fd7428c..b0571b1 100644 --- a/HaWeb/.gitignore +++ b/HaWeb/.gitignore @@ -24,3 +24,6 @@ bin/* *.sln *.sw? testdata/ + +appsettings.Staging.json +appsettings.Production.json diff --git a/HaWeb/appsettings.Docker.json b/HaWeb/appsettings.Docker.json deleted file mode 100644 index ab4b907..0000000 --- a/HaWeb/appsettings.Docker.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "FeatureManagement": { - "AdminService": true, - "LocalPublishService": true, - "SyntaxCheck": true, - "Notifications": true - }, - "AllowedWebSocketConnections": "*", - "AllowedHosts": "*", - "HamannFileStoreLinux": "/data/hamann/", - "BareRepositoryPathLinux": "/data/xml/.git/", - "BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/", - "WorkingTreePathLinux": "/data/xml/", - "RepositoryBranch": "main", - "RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml", - "StoredPDFPathWindows": "", - "StoredPDFPathLinux": "", - "FileSizeLimit": 52428800, - "AvailableStartYear": 1700, - "AvailableEndYear": 1800, - "LettersOnPage": 80 -} \ No newline at end of file diff --git a/HaWeb/appsettings.Staging.json b/HaWeb/appsettings.Staging.json deleted file mode 100644 index 58df1c9..0000000 --- a/HaWeb/appsettings.Staging.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "FeatureManagement": { - "AdminService": true, - "LocalPublishService": true, - "SyntaxCheck": true, - "Notifications": true - }, - "AllowedWebSocketConnections": "*", - "AllowedHosts": "*", - "FileStoragePath": "/app/data", - "RepositoryBranch": "main", - "RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml", - "WebhookSecret": "", - "FileSizeLimit": 52428800, - "AvailableStartYear": 1700, - "AvailableEndYear": 1800, - "LettersOnPage": 80 - } - \ No newline at end of file diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index 13c6847..bb27daf 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -12,7 +12,6 @@ services: - FileStoragePath=/app/data - RepositoryBranch=main - RepositoryURL=https://github.com/Theodor-Springmann-Stiftung/hamann-xml - - WebhookSecret=${WEBHOOK_SECRET:-} restart: unless-stopped networks: - caddynet diff --git a/docker-compose.yml b/docker-compose.yml index d5e91c3..ac92231 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,6 @@ services: - FileStoragePath=/app/data - RepositoryBranch=Release - RepositoryURL=https://github.com/Theodor-Springmann-Stiftung/hamann-xml - - WebhookSecret=${WEBHOOK_SECRET:-} restart: unless-stopped networks: - caddynet