Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Tom Noogen edited this page Jun 9, 2017 · 1 revision

Welcome to Hosting in 2017!

Below are scenarios that work great with this docker.

1) WordPress Site in 2017

mkdir -p /opt/vestacp/{vesta,home,backup}

docker run -d --restart=always -p 80:80 -p 443:443 -p 8083:8083 -v /opt/vestacp/vesta:/vesta -v /opt/vestacp/home:/home -v /opt/vestacp/backup:/backup niiknow/vestacp

  1. Change admin password
  2. Modify my-startup.sh and comment out postgresql start. Install your wordpress site through VestaCP with FileManager.
  3. Setup Letsencrypt to help with security and SEO. Welcome to 2017!!!
  4. Setup cron job to sync /backup folder with aws s3 for remote backup and you're good to go.

2) mysql server

mkdir -p /opt/vestacp/{vesta,home,backup}

docker run -d --restart=always -p 4321:3306 -p 8083:8083 -v /opt/vestacp/vesta:/vesta -v /opt/vestacp/home:/home -v /opt/vestacp/backup:/backup niiknow/vestacp

  1. Change admin password.
  2. Modify my-startup.sh and comment out postgresql start.
  3. Connect securely to your MYSQL to any port as in example above mapping to 4321 on docker host. Welcome to 2017!!! Your backup is automatically done through VestaCP.
  4. Setup cron job to sync /backup folder with aws s3 for remote backup and you're good to go.

3) postgresql server

mkdir -p /opt/vestacp/{vesta,home,backup}

docker run -d --restart=always -p 4321:5432 -p 8083:8083 -v /opt/vestacp/vesta:/vesta -v /opt/vestacp/home:/home -v /opt/vestacp/backup:/backup niiknow/vestacp

  1. Change admin password.
  2. Modify my-startup.sh and comment out mysql start.
  3. Connect securely to your PGSQL to any port as in example above mapping to 4321 on docker host. Welcome to 2017!!! Your backup is automatically done through VestaCP.
  4. Setup cron job to sync /backup folder with aws s3 for remote backup and you're good to go.
Clone this wiki locally