everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
23 lines • 1.1 kB
text/typescript
import { HostingAdapter } from "./adapter.mjs";
import { Duration, Layer } from "effect";
//#region src/services/hosting/docker.d.ts
interface DockerHostingOptions {
/** Container port the runtime serves HTTP on. */
readonly containerPort?: number | undefined;
/** Path polled for readiness after deploy/restart. */
readonly healthPath?: string | undefined;
/** Bounded window for the readiness poll. */
readonly healthTimeout?: Duration.Input | undefined;
/** Interval between readiness polls. */
readonly healthInterval?: Duration.Input | undefined;
/** Alchemy state ledger directory (defaults to `<cwd>/.alchemy`). */
readonly stateDir?: string | undefined;
/** Adopt pre-existing containers instead of failing on conflicts. */
readonly adopt?: boolean | undefined;
/** Alchemy stage scoping the state ledger. */
readonly stage?: string | undefined;
}
declare const dockerHostingAdapterLayer: (options?: DockerHostingOptions) => Layer.Layer<HostingAdapter>;
//#endregion
export { DockerHostingOptions, dockerHostingAdapterLayer };
//# sourceMappingURL=docker.d.mts.map