system-config/playbooks/roles/lodgeit/templates/root.my.cnf.mariadb_container.j2
Ian Wienand 916c1d3dc8 Add paste service
The paste service needs an upgrade; since others have created a
lodgeit container it seems worth us keeping the service going if only
to maintain the historical corpus of pastes.

This adds the ansible to deploy lodgeit and a sibling mariadb
container.  I have imported a dump of the old data as a test.  The
dump is ~4gb and imported it takes up about double that; certainly
nothing we need to be too concerned over.  The server will be more
than capable of running the db container alongside the lodgeit
instance.

This should have no effect on production until we decide to switch
DNS.

Change-Id: I284864217aa49d664ddc3ebdc800383b2d7e00e3
2021-07-07 15:12:04 +10:00

8 lines
151 B
Django/Jinja

[client]
host=127.0.0.1
port=3306
user={{ lodgeit_db_username }}
password={{ lodgeit_db_password }}
database={{ lodgeit_db_dbname }}
ssl-mode=disabled