Skip to content

Commit 748dda9

Browse files
committed
corrected compose
1 parent 781d7d3 commit 748dda9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker-compose.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version: "3.9"
2-
name: "coder"
32
services:
4-
server:
3+
coder:
54
# This MUST be stable for our documentation and
65
# other automations.
76
image: ghcr.io/coder/coder:${CODER_VERSION:-latest}
@@ -13,13 +12,13 @@ services:
1312
# You'll need to set CODER_ACCESS_URL to an IP or domain
1413
# that workspaces can reach. This cannot be localhost
1514
# or 127.0.0.1 for non-Docker templates!
16-
CODER_ACCESS_URL: "${CODER_ACCESS_URL}"
15+
CODER_ACCESS_URL: "http://127.0.0.1:7080"
1716
# If the coder user does not have write permissions on
1817
# the docker socket, you can uncomment the following
1918
# lines and set the group ID to one that has write
2019
# permissions on the docker socket.
2120
group_add:
22-
- "998" # docker group on host
21+
- "1001" # docker group on host
2322
volumes:
2423
- /var/run/docker.sock:/var/run/docker.sock
2524
#- /home/j/.ssh/id_rsa:/home/coder/.ssh/id_rsa

0 commit comments

Comments
 (0)