docs: make it clear the CLI must be downloaded to use templates (#5373)

This commit is contained in:
sharkymark
2022-12-13 13:31:09 -06:00
committed by GitHub
parent 4fc4c01cea
commit 8df02f42c0
24 changed files with 198 additions and 146 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ Docker is required. See the [official installation documentation](https://docs.d
For proof-of-concept deployments, you can run a complete Coder instance with
the following command:
```sh
```console
export CODER_DATA=$HOME/.config/coderv2-docker
export DOCKER_GROUP=$(getent group docker | cut -d: -f3)
mkdir -p $CODER_DATA
@@ -34,7 +34,7 @@ For production deployments, we recommend using an external PostgreSQL database
(version 13 or higher). Set `ACCESS_URL` to the external URL that users and
workspaces will use to connect to Coder.
```sh
```console
docker run --rm -it \
-e CODER_ACCESS_URL="https://coder.example.com" \
-e CODER_PG_CONNECTION_URL="postgresql://username:password@database/coder" \
@@ -64,7 +64,7 @@ an PostgreSQL container and volume.
For proof-of-concept deployments, you can use [Coder's tunnel](../admin/configure.md#tunnel):
```sh
```console
cd coder
docker-compose up
@@ -72,7 +72,7 @@ an PostgreSQL container and volume.
For production deployments, we recommend setting an [access URL](../admin/configure.md#access-url):
```sh
```console
cd coder
CODER_ACCESS_URL=https://coder.example.com docker-compose up