Something-something-server-configs.
Currently done:
website
git
games
reverseproxy
Run wget -O - "https://raw.githubusercontent.com/reboot-codes/it-infra/master/client-setup.sh" | ash
on every container
Assuming your containers are setup correctly... Make a copy of ./default.vars.yml
, name it ./vars.yml
, and fill it out. Then run ./setup.sh
.
After pulling the latest version of this repository, check ./default.vars.yml
against ./vars.yml
, update with any missing fields, then run update.sh
.
Run the following, replacing $service
with the name of the service you'd like to bring down.
ansible-playbook ./containers/$service/down.playbook.yml --vars "@./vars.yml"
Run down.sh
.
Run the following, replacing $service
with the name of the service you'd like to bring up.
ansible-playbook ./containers/$service/up.playbook.yml --vars "@./vars.yml"
Run up.sh
.