AnsonBot/AnsonBot.Core/DockerOptions.cs

19 lines
628 B
C#
Raw Permalink Normal View History

2026-07-30 19:47:39 +00:00
namespace AnsonBot.Core;
public class DockerOptions
{
/// <summary>Name or ID of the Palworld server container.</summary>
public string ContainerName { get; set; } = "palworld";
/// <summary>Executable invoked inside the container to issue RCON commands.</summary>
public string RconCliPath { get; set; } = "rcon-cli";
/// <summary>
/// Docker daemon endpoint. Leave null to use the local default
/// (unix:///var/run/docker.sock on Linux, npipe://./pipe/docker_engine on Windows).
/// </summary>
public string? DaemonUri { get; set; }
public int TimeoutSeconds { get; set; } = 10;
}