zrok/docs/guides/frontdoor.mdx

64 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-11-27 21:21:39 +01:00
---
title: zrok frontdoor
sidebar_label: frontdoor
sidebar_position: 20
hide_table_of_contents: true
2023-11-27 21:21:39 +01:00
---
import OsTabs from '@theme/OsTabs';
import TabItem from '@theme/TabItem';
import LinuxService from './_frontdoor-linux.mdx';
import ThemedImage from '@theme/ThemedImage';
import useBaseUrl from '@docusaurus/useBaseUrl';
2023-11-27 21:21:39 +01:00
**zrok frontdoor** is the heavy-duty front door to your app or site. It makes your website or app available to your online audience through the shield of zrok.io's hardened, managed frontends.
2023-12-03 21:00:00 +01:00
<iframe width="100%" height="315" src="https://www.youtube.com/embed/5Vi8GKuTi_I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
## Overview
zrok frontends are the parts of zrok that proxy incoming public web traffic to zrok backend shares via OpenZiti. When you use zrok with a `zrok.io` frontend, you're using **zrok frontdoor**. `zrok.io` is zrok-as-a-service by NetFoundry, the team behind OpenZiti. You need a free account to use **zrok frontdoor**.
<ThemedImage
alt="frontdoor diagram"
sources={{
light: useBaseUrl('/img/zrok-frontdoor-light-mode.svg'),
dark: useBaseUrl('/img/zrok-frontdoor-dark-mode.svg'),
}}
2023-12-07 17:30:32 +01:00
/>
2023-12-03 21:00:00 +01:00
## Choose your OS
Choose between installing the Linux package or running zrok with Docker (Linux, macOS, or Windows).
2024-05-21 18:06:30 +02:00
{/* The OsTabs component must be aligned with these specific values: `Linux`, `Docker` which are auto-selected based on
the detected OS of the visitor's browser */}
2023-11-27 21:21:39 +01:00
<OsTabs
queryString="os"
values={[
{ label: 'Linux', value: 'Linux', },
2024-04-23 20:33:41 +02:00
{ label: 'Docker', value: 'Docker', },
2023-11-27 21:21:39 +01:00
]}
>
<TabItem value="Linux">
On Linux, zrok frontdoor is implemented natively as a system service provided by the `zrok-share` DEB or RPM package.
2023-11-27 21:21:39 +01:00
<LinuxService/>
</TabItem>
2024-04-23 20:33:41 +02:00
<TabItem value="Docker">
2023-11-27 21:21:39 +01:00
2024-04-23 20:33:41 +02:00
On macOS and Windows, zrok frontdoor is implemented as a Docker Compose project which reserves a public subdomain for your website or service and manages a zrok environment that's separate from the Docker host. [Link to the Docker Public Share Guide](/guides/docker-share/docker_public_share_guide.md)
2023-11-27 21:21:39 +01:00
</TabItem>
</OsTabs>
## Concepts
Overview of [zrok reserved shares](/concepts/sharing-reserved.md)