Add docker initial config

This commit is contained in:
2026-03-21 10:09:59 -03:00
parent b537def301
commit 956a0b2f1f
3 changed files with 91 additions and 5 deletions

View File

@@ -1,15 +1,15 @@
# Setup SSH server
sudo systemctl enable sshd
sudo ufw allow 22/tcp
# Setup Docker
sudo pacman -S docker docker-compose docker-buildx
sudo systemctl enable --now docker.service
sudo usermod -aG docker {$USER}
newgrp docker
docker create network homelogic
# Setup ZSH
cat >> ~/.zshrc << 'EOF'
# Custom aliases
alias la="ls -a"
@@ -25,6 +25,8 @@ alias size='sudo du -sxh .'
alias ,,='..'
alias restart='down && up'
EOF
# Reload zshrc to apply changes
source ~/.zshrc
# Setup Tailscale
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up