updated the Caddyfile and the docker-compose.yml
This commit is contained in:
1 parent
cbabad1988
commit
77a4c1bf29
2 files changed
+17
No files matched your search
@@ -1,4 +1,8 @@
|
|||||||
:4533 {
|
:4533 {
|
||||||
|
# Code-Server (VS Code)
|
||||||
|
handle_path /edit* {
|
||||||
|
reverse_proxy code-server:8443
|
||||||
|
}
|
||||||
handle_path /ntfy* {
|
handle_path /ntfy* {
|
||||||
reverse_proxy ntfy:80
|
reverse_proxy ntfy:80
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,17 @@
|
|||||||
services:
|
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:
|
caddy:
|
||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
|
|||||||
Reference in new issue
Block a user