diff --git a/fern/products/docs/pages/enterprise/self-hosted-set-up.mdx b/fern/products/docs/pages/enterprise/self-hosted-set-up.mdx index 2888c79c5..b2552368b 100644 --- a/fern/products/docs/pages/enterprise/self-hosted-set-up.mdx +++ b/fern/products/docs/pages/enterprise/self-hosted-set-up.mdx @@ -17,7 +17,7 @@ Before setting up self-hosted documentation, ensure you have: The self-hosted documentation runs on a private Docker image: `fernapi/fern-self-hosted` -**Contact Fern Support** and provide your Docker Hub username to the Fern team. Fern will allowlist your account to download the private image +**Contact Fern Support** and provide your Docker Hub username to the Fern team. Fern will allowlist your account to download the private image, and provide you with the latest tag. @@ -57,7 +57,13 @@ Replace `` with the actual tag used in the previous step. Build your custom Docker image using the Dockerfile: ```bash -docker build -f -t . +docker build -f -t +``` + +Example: + +```bash +docker build -f Dockerfile -t self-hosted-docs . ``` @@ -66,10 +72,10 @@ docker build -f -t . Start your self-hosted documentation: ```bash -docker run -it +docker run -p :3000 ``` -The documentation will be available at the domain specified in your `docs.yml` configuration. +The documentation will be available at `localhost:`. @@ -79,8 +85,13 @@ Your documentation will be published to the domain specified in your `docs.yml` ```yaml instances: - url: example-org.docs.buildwithfern.com - custom-domain: plantstore.dev + custom-domain: docs.plantstore.dev ``` + + + +You can now deploy the image to your own infrastructure, allowing you to host the documentation on your own domain. +