mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Enrichment (#1220)
* Debug TID * Use new TID from wrapped install script * Add as script param
This commit is contained in:
@@ -49,9 +49,7 @@ After prerequisites are satisfied, you're ready to install the Firezone Server.
|
||||
|
||||
The easiest way to deploy Firezone with Docker is the automatic install script:
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://github.com/firezone/firezone/raw/master/scripts/install.sh)
|
||||
```
|
||||
<InstallBlock />
|
||||
|
||||
This will ask you a few questions regarding initial configuration, then proceed
|
||||
to download a sample docker-compose.yml file, configure it with your responses,
|
||||
|
||||
15
docs/src/components/InstallBlock/index.js
Normal file
15
docs/src/components/InstallBlock/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from "react";
|
||||
import CodeBlock from '@theme/CodeBlock';
|
||||
|
||||
export default function InstallBlock() {
|
||||
let distinct_id = window.posthog.get_distinct_id()
|
||||
|
||||
return (
|
||||
<div>
|
||||
<CodeBlock
|
||||
language="bash">
|
||||
{`bash <(curl -fsSL https://github.com/firezone/firezone/raw/master/scripts/install.sh) ${distinct_id}`}
|
||||
</CodeBlock>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
// Import the original mapper
|
||||
import MDXComponents from "@theme-original/MDXComponents";
|
||||
import InstallBlock from "@site/src/components/InstallBlock";
|
||||
import AccentBlock from "@site/src/components/AccentBlock";
|
||||
import Feedback from "@site/src/components/Feedback";
|
||||
import SignUp from "@site/src/components/SignUp";
|
||||
@@ -11,6 +12,7 @@ export default {
|
||||
...MDXComponents,
|
||||
// Map the "highlight" tag to our <Highlight /> component!
|
||||
// `Highlight` will receive all props that were passed to `highlight` in MDX
|
||||
InstallBlock: InstallBlock,
|
||||
accentblock: AccentBlock,
|
||||
feedback: Feedback,
|
||||
newsletter: SignUp,
|
||||
|
||||
Reference in New Issue
Block a user