Skip to content

Commit 781d7d3

Browse files
committed
new compose
1 parent 531e133 commit 781d7d3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docker-compose.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: "3.9"
2+
name: "coder"
23
services:
3-
coder:
4+
server:
45
# This MUST be stable for our documentation and
56
# other automations.
67
image: ghcr.io/coder/coder:${CODER_VERSION:-latest}
@@ -17,10 +18,13 @@ services:
1718
# the docker socket, you can uncomment the following
1819
# lines and set the group ID to one that has write
1920
# permissions on the docker socket.
20-
#group_add:
21-
# - "998" # docker group on host
21+
group_add:
22+
- "998" # docker group on host
2223
volumes:
2324
- /var/run/docker.sock:/var/run/docker.sock
25+
#- /home/j/.ssh/id_rsa:/home/coder/.ssh/id_rsa
26+
#- /home/j/.ssh/id_rsa.pub:/home/coder/.ssh/id_rsa.pub
27+
#- /home/j/homelab/coder/coder-templates:/home/coder/templates:Z
2428
depends_on:
2529
database:
2630
condition: service_healthy

0 commit comments

Comments
 (0)