My Docker setup with Traefik, Authelia and a bunch of other applications.
If you find any issues or have improvements, feel free to create an issue or pull request.
Tip
You are not required to run all applications, you can simply comment out or remove applications from the compose.yaml-file.
adguardblocking ads & trackingadguard-syncsyncing config ofadguardwith other instancesasffarming Steam cardsauthelialogin portal for applicationsbitwardenstoring passwords & secretsdelugedownloading Linux ISOsesphomemanage microcontrollersflamedashboard with bookmarksfreshrssRSS feeds aggregatorgluetunVPN fordelugehome-assistanthome automationmongodatabase forunifimosquittoMQTT message brokernetbootxyzPXE boot ISOsnginxsimple webserverpairdropP2P file sharingportainercontainer managementportainer-agentcontainer management agentpostgresdatabase forauthelia,bitwarden,freshrss,home-assistant,ryot&ziplineringcommunication between Ring-devices &home-assistantviamosquittoryotmedia trackersocket-proxysecure access to Docker sockettautulliPlex activity & statisticstraefikreverse proxyunificentral management for UniFiuptime-kumamonitoring toolwatchtowerupdating Docker containerswyoming-openwakewordassistant voice activation forhome-assistantwyoming-pipertext-to-speech forhome-assistantwyoming-whisperspeech-to-text forhome-assistantziplinefile & link sharing
frontendfor access totraefikbackendfor access tomongo,postgres&socket-proxy
Important
These installation instructions are incomplete, they will be expanded upon and moved to the wiki in the future.
- Install Docker Engine & Docker Compose
sudo groupadd dockersudo usermod -aG docker $USER
Caution
Understand the commands you are entering below and make sure they are correct, failing to do so may lock you out of your server.
# Install UFW
sudo apt-get install ufw
# Disable UFW & setup defaults
sudo ufw disable
sudo ufw reset
sudo ufw default deny incoming
sudo ufw default allow outgoing
# Replace subnet with your home-network or management-VLAN
sudo ufw allow from x.x.x.x/24 to any port 22
# Setup rules
sudo ufw allow in 53/tcp # AdGuard
sudo ufw allow in 53/udp # AdGuard
sudo ufw allow in 443/tcp # Traefik
sudo ufw allow in 1884/tcp # MQTT
sudo ufw allow in 8080/tcp # UniFi
sudo ufw allow in 8123/tcp # Home Assistant
sudo ufw allow in 9001/tcp # Portainer Agent
# Enable UFW & check rules
sudo ufw enable
sudo ufw status verbose
# Create database
CREATE DATABASE x;
# Create user
CREATE USER x WITH ENCRYPTED PASSWORD 'x';
# Grand privileges to user on database
GRANT all privileges ON database x TO x;
# Repeat steps for other required databases