updated the Caddyfile and the docker-compose.yml

This commit is contained in:
2026-01-14 16:53:20 +00:00
parent cbabad1988
commit 77a4c1bf29
2 changed files with 17 additions and 0 deletions
+4
View File
@@ -1,4 +1,8 @@
:4533 {
# Code-Server (VS Code)
handle_path /edit* {
reverse_proxy code-server:8443
}
handle_path /ntfy* {
reverse_proxy ntfy:80
}
+13
View File
@@ -1,4 +1,17 @@
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=miles-code # Change this to your preferred login password
- DEFAULT_WORKSPACE=/config/workspace
volumes:
- /home/miles/code-config:/config
- /home/miles/projects:/config/workspace # This is where your HTML files will live
caddy:
image: caddy:latest
container_name: caddy