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:
Mauricio Siu
2026-07-08 01:37:50 -06:00
parent a8efe43f5d
commit 3523fc6a90

View File

@@ -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: