Jacob Babor
ac4fa98e2b
Additionally, I configured a static IP for this machine This should eliminate the circumstance where gulagbot fails to connect to its DB after a reboot
17 lines
509 B
YAML
17 lines
509 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy gulagbot
|
|
docker_container:
|
|
name: gulagbot
|
|
image: rehashedsalt/gulagbot:latest
|
|
env:
|
|
DISCORD_TOKEN: "{{ secret_gulagbot_discord_token }}"
|
|
GULAG_DEBUG: "false"
|
|
GULAG_HUMILIATION: "3"
|
|
GULAG_SCORE_MIN: "-3"
|
|
GULAG_SCORE_MAX: "15"
|
|
PGHOST: eth0.vm-psql-1.home.mgmt.desu.ltd
|
|
PGDATABASE: gulagbot-desultd
|
|
PGUSER: gulagbot-desultd
|
|
PGPASSWORD: "{{ secret_gulagbot_db_pass }}"
|
|
tags: [ docker, gulagbot, stalin ]
|