Here it is with the triple backticks with hopefully the correct indentation.
services:
gluetun:
image: qmcgaw/gluetun:latest
cap_add:
- NET_ADMIN
environment:
- PUID=568 #CHANGE_TO_YOUR_UID
- PGID=568 #CHANGE_TO_YOUR_GID
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=xxxxxxxxxxxxxxxxxx
- WIREGUARD_ADDRESSES=xxx.xxx.xxx.xxx/32
- SERVER_COUNTRIES=xxxxxx
volumes:
- /mnt/xxx/xxx/xxx/xxx/xxx:/config
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: always
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
network_mode: service:gluetun
restart: always
environment:
- PUID=568
- PGID=568
- TZ=America/New_York
- WEBUI_PORT=8080
volumes:
- /mnt/xxx/xxx/xxx/xxx/xxx/xxx:/config
- /mnt/xxx/xxx:/downloads
depends_on:
gluetun:
condition: service_healthy
networks: {}