Compose/ShortServiceVolumeDefinition.cs

FluentDocker · FluentDocker/Model/Compose/ShortServiceVolumeDefinition.cs · csharp · Apache-2.0
database

ShortServiceVolumeDefinition.cs from mariotoffia/FluentDocker

// Source: https://github.com/mariotoffia/FluentDocker | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
namespace FluentDocker.Model.Compose
{
  /// <summary>
  ///   Mount host paths or named volumes, specified as sub-options to a service.
  /// </summary>
  /// <remarks>
  ///   You can mount a host path as part of a definition for a single service, and there is no need to define it in the top
  ///   level volumes key. But, if you want to reuse a volume across multiple services, then define a named volume in the
  ///   top-level volumes key. Use named volumes with services, swarms, and stack files. Note: The top-level volumes key
  ///   defines a named volume and references it

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key