mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
fix: remove nested .config volume that crash-looped code-server
The named volume mounted at /home/coder/.config was created root-owned (the path does not exist in the codercom/code-server image), so code-server running as uid 1000 failed with "EACCES: permission denied, mkdir '/home/coder/.config/code-server'" and restarted in a loop, leaving Traefik returning 404. The .config directory already lives inside /home/coder, which is persisted by the code-server-home volume, so the extra volume is unnecessary. Verified: deploy done, container healthy, domain on port 8080 returns HTTP 200 with the code-server login page. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,6 @@ services:
|
||||
- 8080
|
||||
volumes:
|
||||
- code-server-home:/home/coder
|
||||
- code-server-config:/home/coder/.config
|
||||
environment:
|
||||
- PASSWORD=${PASSWORD}
|
||||
- TZ=${TZ}
|
||||
@@ -16,4 +15,3 @@ services:
|
||||
|
||||
volumes:
|
||||
code-server-home:
|
||||
code-server-config:
|
||||
|
||||
Reference in New Issue
Block a user