updated to have beter redubiluty and comments

This commit is contained in:
2026-01-21 15:46:22 +00:00
parent 467f3ce148
commit 57b8b41a17
3 changed files with 28 additions and 217 deletions
+5 -2
View File
@@ -1,13 +1,16 @@
:4533 { :4533 {
# Code-Server (VS Code) # Code-Server (VS Code)
handle_path /edit* { handle_path /edit* {
reverse_proxy code-server:8443 reverse_proxy code-server:8443
} }
# ntfy
handle_path /ntfy* { handle_path /ntfy* {
reverse_proxy ntfy:80 reverse_proxy ntfy:80
} }
# qBittorrent (Stripping path to avoid 404) # qBittorrent
handle_path /tr* { handle_path /tr* {
reverse_proxy qbittorrent:8081 reverse_proxy qbittorrent:8081
} }
@@ -37,7 +40,7 @@
reverse_proxy excalidraw:80 reverse_proxy excalidraw:80
} }
# Homarr (root dashboard) # Homarr (Dashboard - Root)
handle { handle {
reverse_proxy homarr:7575 reverse_proxy homarr:7575
} }
-180
View File
@@ -1,180 +0,0 @@
cat docker-compose.yml
services:
# --- MANAGEMENT TOOLS ---
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: always
security_opt:
- no-new-privileges:true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/miles/portainer-data:/data
dozzle:
image: amir20/dozzle:latest
container_name: dozzle
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# --- IMMICH (Photos) ---
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
volumes:
- /home/miles/immich-photos:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
environment:
- DB_HOSTNAME=immich-db
- DB_USERNAME=postgres
- DB_PASSWORD=immich_pass # Change this!
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
depends_on:
- immich-db
- immich-redis
restart: always
immich-db:
container_name: immich_db
image: tensorchord/pgvecto-rs:pg16-v0.2.0
environment:
- POSTGRES_PASSWORD=immich_pass # Match the password above
- POSTGRES_USER=postgres
- POSTGRES_DB=immich
volumes:
- /home/miles/immich-db:/var/lib/postgresql/data
restart: always
immich-redis:
container_name: immich_redis
image: redis:alpine
restart: always
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=mimiAL64.68 # Change this to your preferred login password
- SUDO_PASSWORD=mimiAL64.68
- 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
restart: always
ports:
- "4533:4533"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
homarr:
image: ghcr.io/homarr-labs/homarr:latest
container_name: homarr
restart: always
environment:
- SECRET_ENCRYPTION_KEY=31ba05520db9d1dc463c66d81c3195db8c4b5010e97c352c11377877ef1a8d50
volumes:
- /home/miles/homarr-data:/appdata
navidrome:
image: deluan/navidrome:latest
container_name: navidrome
restart: always
environment:
- ND_BASEURL=/music
- ND_MUSICFOLDER=/music
volumes:
- /home/miles/navidrome-data:/data
- /home/miles/navidrome-music:/music
trilium:
image: triliumnext/notes:latest
container_name: trilium
restart: always
environment:
- TRILIUM_BASE_URL=notes
- TRILIUM_PORT=8082
volumes:
- /home/miles/trilium-data:/home/node/trilium-data
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: always
environment:
- GITEA__server__ROOT_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/
- GITEA__server__APP_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/
- GITEA__server__HTTP_PORT=3000
volumes:
- /home/miles/gitea-data:/data
romm:
image: rommapp/romm:latest
container_name: romm
restart: always
environment:
- ROMM_BASE_URL=/roms
- ROMM_PORT=8080
- REDIS_HOST=romm-redis
- REDIS_PORT=6379
depends_on:
- romm-redis
volumes:
- /home/miles/roms:/roms
- /home/miles/romm-data:/data
romm-redis:
image: redis:alpine
container_name: romm-redis
restart: always
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
restart: always
command: serve
environment:
- NTFY_BEHIND_PROXY=true
volumes:
- /home/miles/ntfy-cache:/var/cache/ntfy
- /home/miles/ntfy-config:/etc/ntfy
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8081
volumes:
- /home/miles/qbittorrent-config:/config
- /home/miles/downloads:/downloads
excalidraw:
image: excalidraw/excalidraw:latest
container_name: excalidraw
restart: always
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: always
environment:
- WATCHTOWER_NOTIFICATIONS=shoutrrr
- WATCHTOWER_NOTIFICATION_URL=ntfy://ntfy:80/miles-test
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
caddy_data:
caddy_config:
+23 -35
View File
@@ -1,18 +1,5 @@
services: services:
code-server: # --- CORE INFRASTRUCTURE ---
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
- SUDO_PASSWORD=yourpassword
- 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
@@ -24,12 +11,32 @@ code-server:
- caddy_data:/data - caddy_data:/data
- caddy_config:/config - caddy_config:/config
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# --- YOUR APPS ---
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=mimiAL64.68
volumes:
- /home/miles/code-config:/config
- /home/miles/projects:/config/workspace
homarr: homarr:
image: ghcr.io/homarr-labs/homarr:latest image: ghcr.io/homarr-labs/homarr:latest
container_name: homarr container_name: homarr
restart: always restart: always
environment:
- SECRET_ENCRYPTION_KEY=31ba05520db9d1dc463c66d81c3195db8c4b5010e97c352c11377877ef1a8d50
volumes: volumes:
- /home/miles/homarr-data:/appdata - /home/miles/homarr-data:/appdata
@@ -60,8 +67,6 @@ code-server:
restart: always restart: always
environment: environment:
- GITEA__server__ROOT_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/ - GITEA__server__ROOT_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/
- GITEA__server__APP_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/
- GITEA__server__HTTP_PORT=3000
volumes: volumes:
- /home/miles/gitea-data:/data - /home/miles/gitea-data:/data
@@ -73,7 +78,6 @@ code-server:
- ROMM_BASE_URL=/roms - ROMM_BASE_URL=/roms
- ROMM_PORT=8080 - ROMM_PORT=8080
- REDIS_HOST=romm-redis - REDIS_HOST=romm-redis
- REDIS_PORT=6379
depends_on: depends_on:
- romm-redis - romm-redis
volumes: volumes:
@@ -90,20 +94,14 @@ code-server:
container_name: ntfy container_name: ntfy
restart: always restart: always
command: serve command: serve
environment:
- NTFY_BEHIND_PROXY=true
volumes: volumes:
- /home/miles/ntfy-cache:/var/cache/ntfy - /home/miles/ntfy-cache:/var/cache/ntfy
- /home/miles/ntfy-config:/etc/ntfy
qbittorrent: qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent container_name: qbittorrent
restart: always restart: always
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8081 - WEBUI_PORT=8081
volumes: volumes:
- /home/miles/qbittorrent-config:/config - /home/miles/qbittorrent-config:/config
@@ -114,16 +112,6 @@ code-server:
container_name: excalidraw container_name: excalidraw
restart: always restart: always
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: always
environment:
- WATCHTOWER_NOTIFICATIONS=shoutrrr
- WATCHTOWER_NOTIFICATION_URL=ntfy://ntfy:80/miles-test
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes: volumes:
caddy_data: caddy_data:
caddy_config: caddy_config: