a container of love
Go to file
2019-05-28 13:37:02 -05:00
agares@cd4f8af3c8 Updating agares. 2019-05-28 13:37:02 -05:00
docker Install p7zip and p7zip docs. 2018-05-28 17:05:22 -05:00
setup update sceret files with secret stuff. 2018-10-06 23:37:36 -05:00
.gitignore
.gitmodules Fuck around with submodules 2. 2018-05-28 17:31:33 -05:00
colove.py
README.md include basic howto info for each deployment 2018-11-15 13:37:04 -06:00

colove

a container of love

usage

prep

First, build the container: py colove.py -b

Then, run the container and attach: py colove.py -r

in the container

  1. . /colove/setup/setup.sh
  2. pass in your gpg key
  3. add ssh keys to your ssh-agent (TODO: fucking do this automatically)
    • ssh-add ~/path/to/file
  4. run any deploys you want

deployments

  1. Mojobot
    • cd to the deploy folder
    • ansible-playbook -i hosts.yml mojo.yml --ask-vault-pass
    • this will deploy it automatically to docker hosts. eventually i'll need to update targets
  2. arke
    • cd to deploy folder
    • ansible-playbook -i hosts arke.yml
    • has to be deployed on same docker host as mojo. they share the towervol docker volume to share data
  3. znc
    • cd to deploy folder
    • ansible-playbook -i hosts.yml znc.yml
    • currently deploys to dockerhosts datagroup.