Home - niiknow/vestacp GitHub Wiki
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
- Change admin password
- Modify my-startup.sh and comment out postgresql start. Install your wordpress site through VestaCP with FileManager.
- Setup Letsencrypt to help with security and SEO. Welcome to 2017!!!
- 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
- Change admin password.
- Modify my-startup.sh and comment out postgresql start.
- 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.
- 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
- Change admin password.
- Modify my-startup.sh and comment out mysql start.
- 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.
- Setup cron job to sync /backup folder with aws s3 for remote backup and you're good to go.