File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 1
1
version : " 3.9"
2
2
services :
3
3
coder :
4
- # This MUST be stable for our documentation and
5
- # other automations.
6
4
image : ghcr.io/coder/coder:${CODER_VERSION:-latest}
7
5
ports :
8
6
- " 7080:7080"
9
7
environment :
10
8
CODER_PG_CONNECTION_URL : " postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@database/${POSTGRES_DB:-coder}?sslmode=disable"
11
9
CODER_ADDRESS : " 0.0.0.0:7080"
12
- # You'll need to set CODER_ACCESS_URL to an IP or domain
13
- # that workspaces can reach. This cannot be localhost
14
- # or 127.0.0.1 for non-Docker templates!
15
- CODER_ACCESS_URL : " ${CODER_ACCESS_URL}"
16
- # If the coder user does not have write permissions on
17
- # the docker socket, you can uncomment the following
18
- # lines and set the group ID to one that has write
19
- # permissions on the docker socket.
20
- # group_add:
21
- # - "998" # docker group on host
10
+ CODER_ACCESS_URL : " http://localhost:7080"
22
11
volumes :
23
12
- /var/run/docker.sock:/var/run/docker.sock
24
13
depends_on :
25
14
database :
26
15
condition : service_healthy
16
+
27
17
database :
28
18
image : " postgres:14.2"
29
19
ports :
You can’t perform that action at this time.
0 commit comments