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.
adguard
blocking ads & trackingadguard-sync
syncing config ofadguard
with other instancesasf
farming Steam cardsauthelia
login portal for applicationsbitwarden
storing passwords & secretsdeluge
downloading Linux ISOsflame
dashboard with bookmarksfreshrss
RSS feeds aggregatorgluetun
VPN fordeluge
home-assistant
home automationmongo
database forunifi
mosquitto
MQTT message brokernetbootxyz
PXE boot ISOspairdrop
P2P file sharingportainer
container managementportainer-agent
container management agentpostgres
database forauthelia
,bitwarden
,freshrss
,home-assistant
,ryot
&zipline
ryot
media trackersocket-proxy
secure access to Docker sockettautulli
Plex activity & statisticstraefik
reverse proxyunifi
central management for UniFiuptime-kuma
monitoring toolwatchtower
updating Docker containerswyoming-openwakeword
assistant voice activation forhome-assistant
wyoming-piper
text-to-speech forhome-assistant
wyoming-whisper
speech-to-text forhome-assistant
zipline
file & link sharing
frontend
for access totraefik
backend
for 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 docker
sudo 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