File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
version : " 3.9"
2
2
services :
3
3
coder :
4
- image : ghcr.io/coder/coder:v${CODER_VERSION:-0.5.6 }-${ARCH:-amd64}
4
+ image : ghcr.io/coder/coder:v${CODER_VERSION:-0.5.10 }-${ARCH:-amd64}
5
5
ports :
6
6
- " 7080:7080"
7
7
environment :
8
8
CODER_PG_CONNECTION_URL : " postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@database/${POSTGRES_DB:-coder}?sslmode=disable"
9
9
CODER_ADDRESS : " 0.0.0.0:7080"
10
+ # You'll need to set CODER_ACCESS_URL to an
11
+ # externally-reachable IP to use non-Docker examples!
12
+ CODER_ACCESS_URL : " ${CODER_ACCESS_URL:-http://host.docker.internal:7080}"
10
13
volumes :
11
14
- /var/run/docker.sock:/var/run/docker.sock
12
15
depends_on :
Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ provider "docker" {
42
42
}
43
43
44
44
provider "coder" {
45
- # The below assumes your Coder deployment is running in docker-compose.
46
- # If this is not the case, either comment or edit the below.
47
- url = " http://host.docker.internal:7080"
48
45
}
49
46
50
47
data "coder_workspace" "me" {
Original file line number Diff line number Diff line change @@ -49,9 +49,6 @@ provider "docker" {
49
49
}
50
50
51
51
provider "coder" {
52
- # The below assumes your Coder deployment is running in docker-compose.
53
- # If this is not the case, either comment or edit the below.
54
- url = " http://host.docker.internal:7080"
55
52
}
56
53
57
54
data "coder_workspace" "me" {
You can’t perform that action at this time.
0 commit comments