You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/docker.md
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -54,16 +54,27 @@ an PostgreSQL container and volume.
54
54
55
55
3. Start Coder with `docker-compose up`:
56
56
57
-
In order to use cloud-based templates (e.g. Kubernetes, AWS), you must set `CODER_ACCESS_URL` to the external URL that users and workspaces will use to connect to Coder.
57
+
In order to use cloud-based templates (e.g. Kubernetes, AWS), you must have an external URL that users and workspaces will use to connect to Coder.
58
+
59
+
For proof-of-concept deployments, you can use [Coder's tunnel](../admin/configure.md#tunnel):
58
60
59
-
```console
61
+
```sh
62
+
cd coder
63
+
64
+
CODER_TUNNEL=true
65
+
docker-compose up
66
+
```
67
+
68
+
For production deployments, we recommend setting an [access URL](../admin/configure.md#access-url):
69
+
70
+
```sh
60
71
cd coder
61
72
62
-
CODER_ACCESS_URL=https://coder.example.com
73
+
CODER_ACCESS_URL=https://coder.example.com# URL that
63
74
docker-compose up
64
75
```
65
76
66
-
> Without `CODER_ACCESS_URL` set, Coder will bind to `localhost:7080`. This will only work for Docker-based templates.
77
+
> Without `CODER_ACCESS_URL`or `CODER_TUNNEL`set, Coder will bind to `localhost:7080`. This will only work for Docker-based templates.
67
78
68
79
4. Follow the on-screen instructions log in and create your first template and workspace
0 commit comments