Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker setup example hook #1404

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nickhammond
Copy link
Contributor

Thought this might be a nice addition to help people a little bit when getting a new server up and running.

This is specifically for Ubuntu and adds some default UFW rules and a basic fail2ban install.

$ .kamal/hooks/docker-setup
Running 'ufw allow ssh &&   ufw allow http &&   ufw allow https &&   ufw --force enable &&   apt-get install fail2ban -y &&   systemctl start fail2ban &&   systemctl enable fail2ban' on 867.53.0.9...
  INFO [e818ecd1] Running ufw allow ssh &&   ufw allow http &&   ufw allow https &&   ufw --force enable &&   apt-get install fail2ban -y &&   systemctl start fail2ban &&   systemctl enable fail2ban on 867.53.0.9
  INFO [e818ecd1] Finished in 2.468 seconds with exit status 0 (successful).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants