From 8eebe73bd4cdbc38f6aa4fc0b8896b31caf112b9 Mon Sep 17 00:00:00 2001 From: M Atif Ali Date: Wed, 5 Mar 2025 01:02:42 +0500 Subject: [PATCH 1/5] Update offline.md --- docs/install/offline.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index 0f83ae4077ee4..0cd0d0f8e3c89 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -54,7 +54,7 @@ RUN mkdir -p /opt/terraform # The below step is optional if you wish to keep the existing version. # See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24 # for supported Terraform versions. -ARG TERRAFORM_VERSION=1.10.5 +ARG TERRAFORM_VERSION=1.11.0 RUN apk update && \ apk del terraform && \ curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \ @@ -79,7 +79,7 @@ ADD filesystem-mirror-example.tfrc /home/coder/.terraformrc # Optionally, we can "seed" the filesystem mirror with common providers. # Comment out lines 40-49 if you plan on only using a volume or network mirror: WORKDIR /home/coder/.terraform.d/plugins/registry.terraform.io -ARG CODER_PROVIDER_VERSION=1.0.1 +ARG CODER_PROVIDER_VERSION=2.1.3 RUN echo "Adding coder/coder v${CODER_PROVIDER_VERSION}" \ && mkdir -p coder/coder && cd coder/coder \ && curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip @@ -87,11 +87,11 @@ ARG DOCKER_PROVIDER_VERSION=3.0.2 RUN echo "Adding kreuzwerker/docker v${DOCKER_PROVIDER_VERSION}" \ && mkdir -p kreuzwerker/docker && cd kreuzwerker/docker \ && curl -LOs https://github.com/kreuzwerker/terraform-provider-docker/releases/download/v${DOCKER_PROVIDER_VERSION}/terraform-provider-docker_${DOCKER_PROVIDER_VERSION}_linux_amd64.zip -ARG KUBERNETES_PROVIDER_VERSION=2.23.0 +ARG KUBERNETES_PROVIDER_VERSION=2.36.0 RUN echo "Adding kubernetes/kubernetes v${KUBERNETES_PROVIDER_VERSION}" \ && mkdir -p hashicorp/kubernetes && cd hashicorp/kubernetes \ && curl -LOs https://releases.hashicorp.com/terraform-provider-kubernetes/${KUBERNETES_PROVIDER_VERSION}/terraform-provider-kubernetes_${KUBERNETES_PROVIDER_VERSION}_linux_amd64.zip -ARG AWS_PROVIDER_VERSION=5.19.0 +ARG AWS_PROVIDER_VERSION=5.89.0 RUN echo "Adding aws/aws v${AWS_PROVIDER_VERSION}" \ && mkdir -p aws/aws && cd aws/aws \ && curl -LOs https://releases.hashicorp.com/terraform-provider-aws/${AWS_PROVIDER_VERSION}/terraform-provider-aws_${AWS_PROVIDER_VERSION}_linux_amd64.zip @@ -151,12 +151,11 @@ mkdir $HOME/plugins Next, add a volume mount to docker-compose.yaml: ```console -vim docker-compose.yaml +vim compose.yaml ``` ```yaml -# docker-compose.yaml -version: "3.9" +# compose.yaml services: coder: image: registry.example.com/coder:latest @@ -169,7 +168,7 @@ services: CODER_DERP_SERVER_STUN_ADDRESSES: "disable" # Only use relayed connections CODER_UPDATE_CHECK: "false" # Disable automatic update checks database: - image: registry.example.com/postgres:13 + image: registry.example.com/postgres:17 # ... ``` From 1f11911eca65f4900248feccf23f2ffb8817b9e2 Mon Sep 17 00:00:00 2001 From: M Atif Ali Date: Wed, 5 Mar 2025 15:18:38 +0500 Subject: [PATCH 2/5] Update Coder provider version to 2.2.0 --- docs/install/offline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index 0cd0d0f8e3c89..1b310f506b41a 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -79,7 +79,7 @@ ADD filesystem-mirror-example.tfrc /home/coder/.terraformrc # Optionally, we can "seed" the filesystem mirror with common providers. # Comment out lines 40-49 if you plan on only using a volume or network mirror: WORKDIR /home/coder/.terraform.d/plugins/registry.terraform.io -ARG CODER_PROVIDER_VERSION=2.1.3 +ARG CODER_PROVIDER_VERSION=2.2.0 RUN echo "Adding coder/coder v${CODER_PROVIDER_VERSION}" \ && mkdir -p coder/coder && cd coder/coder \ && curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip From 5b20e8bb0fedc564fbd3f1792f7021060b17edd0 Mon Sep 17 00:00:00 2001 From: M Atif Ali Date: Wed, 5 Mar 2025 15:21:29 +0500 Subject: [PATCH 3/5] Add tabs to offline install docs --- docs/install/offline.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index 1b310f506b41a..9bffd973756fe 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -135,7 +135,9 @@ provider_installation { } ``` -## Run offline via Docker +
+ +### Docker Follow our [docker-compose](./docker.md#install-coder-via-docker-compose) documentation and modify the docker-compose file to specify your custom Coder @@ -177,7 +179,7 @@ services: > command can be used to download the required plugins for a Coder template. > This can be uploaded into the `plugins` directory on your offline server. -## Run offline via Kubernetes +### Kubernetes We publish the Helm chart for download on [GitHub Releases](https://github.com/coder/coder/releases/latest). Follow our @@ -209,6 +211,8 @@ coder: # ... ``` +
+ ## Offline docs Coder also provides offline documentation in case you want to host it on your From c6dd0d1a4353565d8815159866cdc240a70bf1ed Mon Sep 17 00:00:00 2001 From: M Atif Ali Date: Wed, 5 Mar 2025 15:22:45 +0500 Subject: [PATCH 4/5] Update code block language to shell --- docs/install/offline.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index 9bffd973756fe..b65a8112e4bd9 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -146,13 +146,13 @@ filesystem mirror without re-building the image. First, create an empty plugins directory: -```console +```shell mkdir $HOME/plugins ``` Next, add a volume mount to docker-compose.yaml: -```console +```shell vim compose.yaml ``` From a65ff6859f660766918e8176be91d78babda3563 Mon Sep 17 00:00:00 2001 From: Edward Angert Date: Thu, 6 Mar 2025 11:27:44 -0500 Subject: [PATCH 5/5] consistent compose.yaml --- docs/install/offline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index b65a8112e4bd9..683649e451cc5 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -150,7 +150,7 @@ First, create an empty plugins directory: mkdir $HOME/plugins ``` -Next, add a volume mount to docker-compose.yaml: +Next, add a volume mount to compose.yaml: ```shell vim compose.yaml pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy