Fixed some minor docker bugs

This commit is contained in:
Simon Martens
2023-10-27 22:40:41 +02:00
parent 40f28d4cff
commit a194900782
3 changed files with 35 additions and 35 deletions

View File

@@ -19,6 +19,6 @@ RUN dotnet publish --no-restore -o /app
# RUN # RUN
WORKDIR /app WORKDIR /app
RUN export DOTNET_ENVIRONMENT="Docker" RUN export DOTNET_ENVIRONMENT="Docker"
RUN dotnet HaWeb.dll RUN dotnet HaWeb.dll
EXPOSE 5000 EXPOSE 5000

View File

@@ -1,28 +1,28 @@
{ {
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Information", "Default": "Information",
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"FeatureManagement": { "FeatureManagement": {
"AdminService": true, "AdminService": true,
"LocalPublishService": true, "LocalPublishService": true,
"SyntaxCheck": true, "SyntaxCheck": true,
"Notifications": true "Notifications": true
}, },
"AllowedWebSocketConnections": "*", "AllowedWebSocketConnections": "*",
"AllowedHosts": "*", "AllowedHosts": "*",
"HamannFileStoreLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Hamann/", "HamannFileStoreLinux": "/data/hamann/",
"BareRepositoryPathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Bare/", "BareRepositoryPathLinux": "/data/xml/.git/",
"BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/", "BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/",
"WorkingTreePathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Repo/", "WorkingTreePathLinux": "/data/xml/",
"RepositoryBranch": "Release", "RepositoryBranch": "main",
"RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml", "RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml",
"StoredPDFPathWindows": "", "StoredPDFPathWindows": "",
"StoredPDFPathLinux": "", "StoredPDFPathLinux": "",
"FileSizeLimit": 52428800, "FileSizeLimit": 52428800,
"AvailableStartYear": 1700, "AvailableStartYear": 1700,
"AvailableEndYear": 1800, "AvailableEndYear": 1800,
"LettersOnPage": 80 "LettersOnPage": 80
} }

View File

@@ -6,18 +6,18 @@
} }
}, },
"FeatureManagement": { "FeatureManagement": {
"AdminService": true, "AdminService": true,
"LocalPublishService": true, "LocalPublishService": true,
"SyntaxCheck": true, "SyntaxCheck": true,
"Notifications": true "Notifications": true
}, },
"AllowedWebSocketConnections": "*", "AllowedWebSocketConnections": "*",
"AllowedHosts": "*", "AllowedHosts": "*",
"HamannFileStoreLinux": "/data/hamann/", "HamannFileStoreLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Hamann/",
"BareRepositoryPathLinux": "/data/xml/.git/", "BareRepositoryPathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Bare/",
"BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/", "BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/",
"WorkingTreePathLinux": "/data/xml/", "WorkingTreePathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Repo/",
"RepositoryBranch": "main", "RepositoryBranch": "Release",
"RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml", "RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml",
"StoredPDFPathWindows": "", "StoredPDFPathWindows": "",
"StoredPDFPathLinux": "", "StoredPDFPathLinux": "",
@@ -25,4 +25,4 @@
"AvailableStartYear": 1700, "AvailableStartYear": 1700,
"AvailableEndYear": 1800, "AvailableEndYear": 1800,
"LettersOnPage": 80 "LettersOnPage": 80
} }