Artifacts¶
octomate.config.artifacts ¶
Shared artifact viewer paths and the browser sandbox origin.
ArtifactConfig
pydantic-model
¶
Bases: BaseModel
Deployment-wide locations for artifact viewers and their isolated runtime.
Fields:
-
path(str) -
viewer_origin(AnyHttpUrl | None) -
sandbox_origin(AnyHttpUrl | None)
Validators:
Source code in octomate/config/artifacts.py
path
pydantic-field
¶
Root-relative URL prefix for artifact viewers on the console host. Use slash-separated segments of letters, digits, hyphens, or underscores, without a trailing slash. Each viewer appends the artifact UUID.
viewer_origin
pydantic-field
¶
Browser-reachable HTTP(S) origin hosting the artifact viewer, without credentials, path, query, or fragment. Combined with path and the artifact UUID for links in channel overview cards. Required to build absolute viewer links; leaving it unset disables channel overviews. Must differ from sandbox_origin.
sandbox_origin
pydantic-field
¶
Shared HTTP(S) origin for running artifact HTML, without credentials, path, query, or fragment. Must differ from the console origin; a separate hostname or port can provide this. Expose only sandbox routes and assets on this origin. This setting controls browser hosting only.