Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions app/components/QuickStartBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function QuickStartBlock({ showExposureOverlay = false }: { showE
const getQuickstartCommand = () => {
const base = `docker pull archestra/platform:latest;\ndocker run -p 9000:9000 -p 3000:3000 ${lc}\n -e ARCHESTRA_QUICKSTART=true ${lc}`;
let extra = '';
if (ngrokKey) extra += `\n -e NGROK_API_KEY=${ngrokKey} ${lc}`;
if (ngrokKey) extra += `\n -e ARCHESTRA_NGROK_AUTH_TOKEN=${ngrokKey} ${lc}`;
if (customDomain) extra += `\n -e ARCHESTRA_API_BASE_URL=${customDomain} ${lc}`;
const suffix = `\n -v /var/run/docker.sock:/var/run/docker.sock ${lc}\n -v archestra-postgres-data:/var/lib/postgresql/data ${lc}\n -v archestra-app-data:/app/data ${lc}\n archestra/platform;`;
return base + extra + suffix;
Expand Down Expand Up @@ -186,14 +186,15 @@ export default function QuickStartBlock({ showExposureOverlay = false }: { showE
<span className="text-yellow-300">-p 9000:9000 -p 3000:3000</span> {renderLineContinuation()}
{'\n'}
<span className="text-gray-300">
ARCHESTRA_NGROK_AUTH_TOKEN
{' '}-e <span className="text-purple-400">ARCHESTRA_QUICKSTART</span>=true
</span>{' '}
{renderLineContinuation()}
{'\n'}
{ngrokKey && (
<>
<span className="text-gray-300">
{' '}-e <span className="text-purple-400">NGROK_API_KEY</span>={ngrokKey}
{' '}-e <span className="text-purple-400">ARCHESTRA_NGROK_AUTH_TOKEN</span>={ngrokKey}
</span>{' '}
{renderLineContinuation()}
{'\n'}
Expand All @@ -214,8 +215,7 @@ export default function QuickStartBlock({ showExposureOverlay = false }: { showE
<span className="text-gray-300">{' '}-v archestra-postgres-data:/var/lib/postgresql/data</span>{' '}
{renderLineContinuation()}
{'\n'}
<span className="text-gray-300">{' '}-v archestra-app-data:/app/data</span>{' '}
{renderLineContinuation()}
<span className="text-gray-300">{' '}-v archestra-app-data:/app/data</span> {renderLineContinuation()}
{'\n'}
<span className="text-gray-300">{' '}archestra/platform</span>
</div>
Expand Down Expand Up @@ -415,8 +415,7 @@ export default function QuickStartBlock({ showExposureOverlay = false }: { showE
<span className="text-purple-400">archestra.env.HOSTNAME</span>
<span className="text-gray-300">=&quot;0.0.0.0&quot;</span> {renderLineContinuation()}
{'\n'}
<span className="text-yellow-300">{' '}--create-namespace</span>{' '}
{renderLineContinuation()}
<span className="text-yellow-300">{' '}--create-namespace</span> {renderLineContinuation()}
{'\n'}
<span className="text-yellow-300">{' '}--wait</span>
</div>
Expand Down