aboutsummaryrefslogtreecommitdiffstats
path: root/roles/gathio/templates/var
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:23:43 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:52:13 -0500
commit0261e875679f1bf63c8d689da7fc7e014597885d (patch)
tree3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/gathio/templates/var
downloadselfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz
selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip
initial commit
Diffstat (limited to 'roles/gathio/templates/var')
-rw-r--r--roles/gathio/templates/var/lib/gathio/gathio/config/api.js.j26
-rw-r--r--roles/gathio/templates/var/lib/gathio/gathio/config/database.js.j23
-rw-r--r--roles/gathio/templates/var/lib/gathio/gathio/config/domain.js.j210
3 files changed, 19 insertions, 0 deletions
diff --git a/roles/gathio/templates/var/lib/gathio/gathio/config/api.js.j2 b/roles/gathio/templates/var/lib/gathio/gathio/config/api.js.j2
new file mode 100644
index 0000000..9ccbd8c
--- /dev/null
+++ b/roles/gathio/templates/var/lib/gathio/gathio/config/api.js.j2
@@ -0,0 +1,6 @@
+module.exports = {
+ 'smtpServer': '127.0.0.1',
+ 'smtpPort': '25',
+ 'smtpUsername': '',
+ 'smtpPassword': ''
+};
diff --git a/roles/gathio/templates/var/lib/gathio/gathio/config/database.js.j2 b/roles/gathio/templates/var/lib/gathio/gathio/config/database.js.j2
new file mode 100644
index 0000000..120fc64
--- /dev/null
+++ b/roles/gathio/templates/var/lib/gathio/gathio/config/database.js.j2
@@ -0,0 +1,3 @@
+module.exports = {
+ 'url' : 'mongodb://localhost:27017/gathio'
+};
diff --git a/roles/gathio/templates/var/lib/gathio/gathio/config/domain.js.j2 b/roles/gathio/templates/var/lib/gathio/gathio/config/domain.js.j2
new file mode 100644
index 0000000..0815294
--- /dev/null
+++ b/roles/gathio/templates/var/lib/gathio/gathio/config/domain.js.j2
@@ -0,0 +1,10 @@
+module.exports = {
+ 'domain' : '{{ gathio_domain }}' ,
+ 'port': '{{ gathio_port }}',
+ 'email': '{{ gathio_from_address }}',
+ 'mailService': 'nodemailer',
+ 'sitename': 'gathio',
+ 'isFederated': false,
+ 'logo_url': '',
+ 'showKofi': false,
+};