AnsonBot/AnsonBot.Core/DockerOptions.cs
2026-07-30 20:47:39 +01:00

18 lines
628 B
C#

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;
}