work with authentik

This commit is contained in:
Matt Batchelder
2026-02-27 17:48:21 -05:00
parent 90eb649940
commit 2aaa0442b2
13 changed files with 699 additions and 2 deletions

View File

@@ -97,6 +97,22 @@ public interface IDockerCliService
/// Returns parsed log entries sorted by timestamp ascending.
/// </summary>
Task<List<ServiceLogEntry>> GetServiceLogsAsync(string stackName, string? serviceName = null, int tailLines = 200);
/// <summary>
/// Writes a file to an NFS volume by temporarily mounting the export on the Docker host.
/// Used to deploy configuration files (e.g. settings-custom.php) into CMS containers.
/// </summary>
/// <param name="nfsServer">NFS server hostname or IP.</param>
/// <param name="nfsExport">NFS export path (e.g. "/srv/nfs").</param>
/// <param name="relativePath">Path relative to the export root (e.g. "subfolder/abbrev/cms-custom/settings-custom.php").</param>
/// <param name="content">File content to write.</param>
/// <param name="nfsExportFolder">Optional subfolder within the export.</param>
Task<(bool Success, string? Error)> WriteFileToNfsAsync(
string nfsServer,
string nfsExport,
string relativePath,
string content,
string? nfsExportFolder = null);
}
public class StackInfo