This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
gluetun: | |
restart: always | |
image: qmcgaw/gluetun | |
container_name: torrent-gluetun | |
cap_add: | |
- NET_ADMIN | |
devices: | |
- /dev/net/tun:/dev/net/tun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware" | tee -a /etc/apt/sources.list | |
apt update && apt upgrade -y | |
apt install cockpit cockpit-storaged -y | |
systemctl start cockpit.socket | |
systemctl enable cockpit.socket | |
echo "Cockpit done" | |
apt install ufw -y | |
ufw enable |