Auto configurable scripts bundle.
- vds_setup.sh: install and configure soft on just-created VDS.
- app_setup.sh: install and configure dockerized application.
Connect to newly installed Ubuntu VDS via ssh.
Clone bundle.
apt update
apt install git -y
git clone [email protected]:acid23m/vds_docker.git
# or
#git clone https://github.com/acid23m/vds_docker.git
cd vds_docker
Edit settings.
cp -av .env.example .env
nano .env
Run vds_setup.sh.
./vds_setup.sh
It will:
- upgrade system
- install required soft (eg. openssl, curl ..) and helpfull soft (eg. mc)
- create user defined in .env
- configure ssh server
- install and configure fail2ban
- configure firewall
- install docker and docker-compose
- create self-signed certificates
- install and configure nginx
- install ACME shell script
- install dockerized portainer
Reboot VDS.
reboot
Application must be compatible with base-docker. Application always use SSL.
Run app_setup.sh with parameters.
./app_setup.sh [email protected]:acid23m/base-docker-app.git base base-app.com 8000
Done!