minetest-deploy/packer/setup.sh

14 lines
262 B
Bash
Raw Permalink Normal View History

2020-05-09 10:30:13 -04:00
#!/bin/bash
apt update
apt upgrade -y
apt install -y docker.io docker-compose
systemctl enable docker-compose
systemctl start docker-compose
ufw allow OpenSSH
# Add any firewall rules you need
# for your application here
ufw allow 30000/udp
ufw --force enable