updateed to use better conecshon with the doman or cliunt speeding things up
This commit is contained in:
1 parent
a7c94ddc6c
commit
356fdf206e
2 files changed
+100
-122
No files matched your search
@@ -1,47 +1,45 @@
|
|||||||
:4533 {
|
:raspberrypi-1.tail46eacb.ts.net {
|
||||||
|
tls {
|
||||||
# Code-Server (VS Code)
|
get_certificate tailscale
|
||||||
handle_path /edit* {
|
|
||||||
reverse_proxy code-server:8443
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ntfy
|
# VS Code
|
||||||
handle_path /ntfy* {
|
handle_path /edit* {
|
||||||
reverse_proxy ntfy:80
|
reverse_proxy 127.0.0.1:8443
|
||||||
|
}
|
||||||
|
|
||||||
|
# File Browser
|
||||||
|
handle_path /drive* {
|
||||||
|
reverse_proxy 127.0.0.1:8082
|
||||||
|
}
|
||||||
|
|
||||||
|
# Music
|
||||||
|
handle /music* {
|
||||||
|
reverse_proxy 127.0.0.1:4533
|
||||||
|
}
|
||||||
|
|
||||||
|
# Trilium Notes
|
||||||
|
handle_path /notes* {
|
||||||
|
reverse_proxy 127.0.0.1:8081
|
||||||
}
|
}
|
||||||
|
|
||||||
# qBittorrent
|
# qBittorrent
|
||||||
handle_path /tr* {
|
handle_path /tr* {
|
||||||
reverse_proxy qbittorrent:8081
|
reverse_proxy 127.0.0.1:8085
|
||||||
}
|
}
|
||||||
|
|
||||||
# Navidrome
|
# ntfy
|
||||||
handle /music* {
|
handle_path /ntfy* {
|
||||||
reverse_proxy navidrome:4533
|
reverse_proxy 127.0.0.1:8083
|
||||||
}
|
}
|
||||||
|
|
||||||
# Gitea
|
# Gitea
|
||||||
handle_path /git* {
|
handle_path /git* {
|
||||||
reverse_proxy gitea:3000
|
reverse_proxy 127.0.0.1:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
# ROMM
|
# Homarr Dashboard (Root)
|
||||||
handle_path /roms* {
|
|
||||||
reverse_proxy romm:8080
|
|
||||||
}
|
|
||||||
|
|
||||||
# Trilium
|
|
||||||
handle_path /notes* {
|
|
||||||
reverse_proxy trilium:8082
|
|
||||||
}
|
|
||||||
|
|
||||||
# Excalidraw
|
|
||||||
handle_path /draw* {
|
|
||||||
reverse_proxy excalidraw:80
|
|
||||||
}
|
|
||||||
|
|
||||||
# Homarr (Dashboard - Root)
|
|
||||||
handle {
|
handle {
|
||||||
reverse_proxy homarr:7575
|
reverse_proxy 127.0.0.1:3000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+72
-92
@@ -1,132 +1,112 @@
|
|||||||
services:
|
services:
|
||||||
# --- CORE INFRASTRUCTURE ---
|
|
||||||
# Reverse Proxy to handle incoming traffic and SSL
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
network_mode: host
|
||||||
- "4533:4533"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_config:/config
|
|
||||||
|
|
||||||
# Automatically updates your Docker containers to the latest images
|
homarr:
|
||||||
|
image: ghcr.io/homarr-labs/homarr:latest
|
||||||
|
container_name: homarr
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
environment:
|
||||||
|
# This fixes the encryption error
|
||||||
|
- SECRET_ENCRYPTION_KEY=a90069963afd0d7fab70f044426f1c7a7f8ba322df8b4193cd975fd1f981462b
|
||||||
|
volumes:
|
||||||
|
- /home/miles/homarr-data:/appdata
|
||||||
|
|
||||||
|
code-server:
|
||||||
|
image: lscr.io/linuxserver/code-server:latest
|
||||||
|
container_name: code-server
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8443:8443"
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
- DEFAULT_WORKSPACE=/config/workspace
|
||||||
|
volumes:
|
||||||
|
- /home/miles/code-config:/config
|
||||||
|
|
||||||
watchtower:
|
watchtower:
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
command: --interval 86400 --cleanup
|
||||||
|
|
||||||
# --- DEVELOPMENT & PRODUCTIVITY ---
|
filebrowser:
|
||||||
# VS Code in the browser
|
image: filebrowser/filebrowser:latest
|
||||||
code-server:
|
container_name: filebrowser
|
||||||
image: lscr.io/linuxserver/code-server:latest
|
|
||||||
container_name: code-server
|
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
user: "1000:1000"
|
||||||
- PUID=1000
|
ports:
|
||||||
- PGID=1000
|
- "8082:8082"
|
||||||
- TZ=Etc/UTC
|
command: ["--port", "8082", "--baseurl", "/drive"]
|
||||||
- PASSWORD=mimiAL64.68 # Consider moving this to a .env file for security
|
|
||||||
volumes:
|
volumes:
|
||||||
- /home/miles/code-config:/config
|
- /home/miles/files:/srv
|
||||||
- /home/miles/projects:/config/workspace
|
- /home/miles/filebrowser.db:/database/filebrowser.db
|
||||||
|
- /home/miles/filebrowser-config:/config
|
||||||
|
|
||||||
# Self-hosted Git service
|
|
||||||
gitea:
|
|
||||||
image: gitea/gitea:latest
|
|
||||||
container_name: gitea
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
- GITEA__server__ROOT_URL=http://raspberrypi.tail46eacb.ts.net:4533/git/
|
|
||||||
volumes:
|
|
||||||
- /home/miles/gitea-data:/data
|
|
||||||
|
|
||||||
# Virtual whiteboard for sketching and diagrams
|
|
||||||
excalidraw:
|
|
||||||
image: excalidraw/excalidraw:latest
|
|
||||||
container_name: excalidraw
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
# --- KNOWLEDGE & DASHBOARD ---
|
|
||||||
# Centralized dashboard for all your services
|
|
||||||
homarr:
|
|
||||||
image: ghcr.io/homarr-labs/homarr:latest
|
|
||||||
container_name: homarr
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- /home/miles/homarr-data:/appdata
|
|
||||||
|
|
||||||
# Personal knowledge base and hierarchical note-taking
|
|
||||||
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
|
|
||||||
|
|
||||||
# --- MEDIA & ENTERTAINMENT ---
|
|
||||||
# Music streaming server (Subsonic compatible)
|
|
||||||
navidrome:
|
navidrome:
|
||||||
image: deluan/navidrome:latest
|
image: deluan/navidrome:latest
|
||||||
container_name: navidrome
|
container_name: navidrome
|
||||||
restart: always
|
restart: always
|
||||||
|
user: "1000:1000"
|
||||||
|
ports:
|
||||||
|
- "4533:4533"
|
||||||
environment:
|
environment:
|
||||||
- ND_BASEURL=/music
|
- ND_BASEURL=/music
|
||||||
- ND_MUSICFOLDER=/music
|
|
||||||
volumes:
|
volumes:
|
||||||
- /home/miles/navidrome-data:/data
|
- /home/miles/navidrome-data:/data
|
||||||
- /home/miles/navidrome-music:/music
|
- /home/miles/navidrome-music:/music
|
||||||
|
|
||||||
# Game ROM manager and browser-based emulator
|
trilium:
|
||||||
romm:
|
image: triliumnext/notes:latest
|
||||||
image: rommapp/romm:latest
|
container_name: trilium
|
||||||
container_name: romm
|
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
ports:
|
||||||
- ROMM_BASE_URL=/roms
|
- "8081:8080"
|
||||||
- ROMM_PORT=8080
|
|
||||||
- REDIS_HOST=romm-redis
|
|
||||||
depends_on:
|
|
||||||
- romm-redis
|
|
||||||
volumes:
|
volumes:
|
||||||
- /home/miles/roms:/roms
|
- /home/miles/trilium-data:/home/node/trilium-data
|
||||||
- /home/miles/romm-data:/data
|
|
||||||
|
|
||||||
# Cache database for RomM
|
|
||||||
romm-redis:
|
|
||||||
image: redis:alpine
|
|
||||||
container_name: romm-redis
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
# --- UTILITIES ---
|
|
||||||
# Push notification service (Pub-Sub)
|
|
||||||
ntfy:
|
|
||||||
image: binwiederhier/ntfy:latest
|
|
||||||
container_name: ntfy
|
|
||||||
restart: always
|
|
||||||
command: serve
|
|
||||||
volumes:
|
|
||||||
- /home/miles/ntfy-cache:/var/cache/ntfy
|
|
||||||
|
|
||||||
# Torrent client with Web UI
|
|
||||||
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:
|
||||||
- WEBUI_PORT=8081
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
ports:
|
||||||
|
- "8085:8081"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/miles/qbittorrent-config:/config
|
- /home/miles/torrent-config:/config
|
||||||
- /home/miles/downloads:/downloads
|
- /home/miles/files/downloads:/downloads
|
||||||
|
|
||||||
|
ntfy:
|
||||||
|
image: binwiederhier/ntfy:latest
|
||||||
|
container_name: ntfy
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8083:80"
|
||||||
|
command: ["serve"]
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
image: gitea/gitea:latest
|
||||||
|
container_name: gitea
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3001:3000"
|
||||||
|
volumes:
|
||||||
|
- /home/miles/gitea-data:/data
|
||||||
|
|
||||||
# Persistent volumes for Caddy configuration
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
caddy_config:
|
|
||||||
Reference in new issue
Block a user