This script ./pbf-setupconfig.sh
will build website config files based on the servers.details
values, and move them to each server. Then this ./pbf-engine.sh
script will start docker-compose on each server, this will update and deploy the docker setup found in the docker-compose.yml.tmpl
for each server.
Before you run ./pbf-[].sh
of these scripts, setup your servers.details using the following format, and be place the file one directory up.
ServerPass ServerIP WebbsiteDomain Username Userpass
example
sdf2wew4dw 13.403.21.123 joomla1-us.pizza-bugs-fun.com joomla1-us joomla1-us
a258gsq33f 12.325.7.145 joomla2-us.pizza-bugs-fun.com joomla2-us joomla2-us
12fhj753da 134.42.23.23 joomla3-us.pizza-bugs-fun.com joomla3-us joomla3-us
To add your keys to all servers
$ sudo chmod +x pbf-addkeys.sh
$ ./pbf-addkeys.sh
To add the docker config details to each server
$ sudo chmod +x pbf-setupconfig.sh
$ ./ pbf-setupconfig.sh
To run/deploy docker on each server
$ sudo chmod +x pbf-engine.sh
$ ./pbf-engine.sh
Llewellyn van der Merwe <[email protected]>
Copyright (C) 2019. All Rights Reserved
GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html