Skip to content

Commit

Permalink
Merge pull request #35 from hyvor/docker-docs
Browse files Browse the repository at this point in the history
Docker docs
  • Loading branch information
Nadil-K authored Oct 29, 2024
2 parents 764c17c + beccb45 commit 34b0570
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions website/src/routes/[[slug]]/Docker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/>

<p>
Run this docker image inside a docker container. Make sure to bind the port <strong>5050</strong>
Run this docker image inside a docker container. Make sure to bind the port <strong>7272</strong>
with a prefered port to access unfold endpoints.
</p>

<CodeBlock
code={`
docker run -d -p <preferred-port>:5050 hyvor/unfold:latest
docker run -d hyvor/unfold:latest
`}
/>

Expand All @@ -37,12 +37,16 @@

<CodeBlock
code={`
https://example.com:<preferred-port>/unfold?url=https://url-to-unfold.com&method=link
http://127.0.0.1:7272/unfold?url=https://hyvor.com.com&method=link
`}
/>

<CodeBlock
code={`
https://example.com:<preferred-port>/iframe?url=https://url-to-embed.com
http://127.0.0.1:7272/iframe?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ
`}
/>
/>

<p>
You can find more details about <code>iframe endpoint</code> <a href="/iframe">here</a>.
</p>

0 comments on commit 34b0570

Please sign in to comment.