Skip to content

acid23m/vds_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized VDS

Auto configurable scripts bundle.

Scripts

  • vds_setup.sh: install and configure soft on just-created VDS.
  • app_setup.sh: install and configure dockerized application.

Usage

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

VDS

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

Applications

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!

About

Auto configurable scripts bundle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages