ansible/playbooks/tasks/app/gulagbot.yml
Jacob Babor ac4fa98e2b Have gulagbot connect to its DB via DNS
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
2022-04-11 12:28:43 -05:00

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 ]