Class LocalEmulatorPaths

java.lang.Object
com.cloudforge.core.local.LocalEmulatorPaths

public final class LocalEmulatorPaths extends Object
Resolves on-disk paths used by local emulator runtimes.
  • Method Details

    • localStackVolumeDir

      public static Path localStackVolumeDir()
      Resolve persisted LocalStack data directory (matches former compose bind mount).
    • localStackVolumeDir

      public static Path localStackVolumeDir(Path workingDirectory)
    • dockerSocketMount

      public static String dockerSocketMount()
    • dockerSocketHostPath

      public static String dockerSocketHostPath()
      Host-side path of the Docker socket, honoring LocalEmulatorDefaults.DOCKER_SOCKET_ENV for non-default setups (Colima, Rancher Desktop, etc). Just the source half of dockerSocketMount() — for callers building an ECS task's Host.SourcePath directly (e.g. giving CloudForge Manager's own container the same Docker access this process already grants LocalStack's own container) rather than a docker-CLI -v arg.
    • stackPortVolumeDir

      public static Path stackPortVolumeDir(DeploymentTarget target)
      Persisted StackPort endpoint config (endpoints.json) per emulator target.
    • stackPortVolumeDir

      public static Path stackPortVolumeDir(Path workingDirectory, DeploymentTarget target)
    • emulatorEdgeDir

      public static Path emulatorEdgeDir()
      Runtime nginx conf dir (conf.d, generated vhosts).
    • emulatorEdgeDir

      public static Path emulatorEdgeDir(Path workingDirectory)
    • emulatorEdgeNginxConf

      public static Path emulatorEdgeNginxConf(Path workingDirectory)
      Prefer repo docker/emulator-edge/nginx.conf, else classpath extract location.