Files
Homelab/navidrome/compose.yml
MSWS 5130ba10a1 build: Configure dev tools and add VPN setup instructions
- Add commented-out `gluetun` service configuration in `navidrome/compose.yml` with detailed setup instructions and references to external documentation.
- Update `code-server/Dockerfile` by removing unstable Neovim PPA, adding `cargo` installation, configuring PATH for Cargo binaries, and installing `gptcommit`.
- Add new Git aliases (`ca` and `c`), update `.config` copy process, and revise VSCode extension installation script.

[navidrome/compose.yml]
- Added a commented-out service configuration for `gluetun`.
  - The configuration includes setup instructions, such as enabling external container connection, assigning permissions, and specifying required devices and ports.
  - Environment variables for VPN setup (OpenVPN/Wireguard), timezone, and server updater are included.
  - Provides references to external documentation for further details.
[code-server/Dockerfile]
- Removed addition of the unstable Neovim PPA repository.
- Added `cargo` package installation to the dependency list.
- Configured the `PATH` environment variable to include Cargo's binary directory.
- Installed the `gptcommit` tool using Cargo.
- Added new Git aliases for quicker commit commands (`ca` and `c`).
- Added configuration to copy `.config` directory during the build process.
- Updated the location of the VSCode extension installation command to use a more generic `/usr/local/bin/install-extension` script, and commented out the related installation block, possibly for future updates or changes to extension installation logic.
2025-03-28 17:19:48 -07:00

131 lines
3.3 KiB
YAML

services:
navidrome:
image: deluan/navidrome:latest
container_name: navidrome
user: 1000:1000 # should be owner of volumes
restart: always
volumes:
- "${PWD}/data:/data"
- "${PWD}/music:/music"
networks:
- cloudflared
environment:
ND_SPOTIFY_ID: "${ND_SPOTIFY_ID}"
ND_SPOTIFY_SECRET: "${ND_SPOTIFY_SECRET}"
ND_PLAYLISTSPATH: "playlists"
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- "${PWD}/lidarr/config:/config"
- "${PWD}/music:/music"
- "${PWD}/downloads:/downloads"
restart: always
networks:
- cloudflared
- tor
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- "${PWD}/radarr/data:/config"
- "${PWD}/downloads:/downloads"
- "/mnt/usb/media/jellyfin/movies:/movies"
restart: always
networks:
- cloudflared
- tor
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- "${PWD}/sonarr/data:/config"
- "/mnt/usb/media/jellyfin/shows:/shows"
- "${PWD}/downloads:/downloads"
restart: always
networks:
- cloudflared
- tor
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
volumes:
- "${PWD}/bittorrent/config"
- "${PWD}/downloads:/downloads"
restart: always
networks:
- cloudflared
- tor
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- ${PWD}/prowlar/config:/config
restart: always
networks:
- tor
- cloudflared
# gluetun:
# image: qmcgaw/gluetun
# # container_name: gluetun
# # line above must be uncommented to allow external containers to connect.
# # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
# cap_add:
# - NET_ADMIN
# devices:
# - /dev/net/tun:/dev/net/tun
# ports:
# - 8888:8888/tcp # HTTP proxy
# - 8388:8388/tcp # Shadowsocks
# - 8388:8388/udp # Shadowsocks
# volumes:
# - gluetun-data:/gluetun
# environment:
# # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
# - VPN_SERVICE_PROVIDER=ivpn
# - VPN_TYPE=openvpn
# # OpenVPN:
# - OPENVPN_USER=
# - OPENVPN_PASSWORD=
# # Wireguard:
# # - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU=
# # - WIREGUARD_ADDRESSES=10.64.222.21/32
# # Timezone for accurate log times
# - TZ=Etc/UTC
# # Server list updater
# # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
# - UPDATER_PERIOD=24h
networks:
cloudflared:
external: true
tor: