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
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,16 +54,25 @@ 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 docker-compose up
65
+
```
66
+
67
+
For production deployments, we recommend setting an[access URL](../admin/configure.md#access-url):
68
+
69
+
```sh
60
70
cd coder
61
71
62
-
CODER_ACCESS_URL=https://coder.example.com
63
-
docker-compose up
72
+
CODER_ACCESS_URL=https://coder.example.com docker-compose up
64
73
```
65
74
66
-
>Without`CODER_ACCESS_URL` set, Coder will bind to`localhost:7080`. This will only work for Docker-based templates.
75
+
>Without`CODER_ACCESS_URL`or`CODER_TUNNEL`set, Coder will bind to`localhost:7080`. This will only work for Docker-based templates.
67
76
68
77
4. Visit the web ui via the configured url. You can add`/login` to the base url to create the first user via the ui.