summaryrefslogtreecommitdiff
path: root/roles/isso/files
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-12-18 14:50:31 -0500
committerThedro Neely <thedroneely@gmail.com>2019-12-18 14:50:31 -0500
commitc4fb7e6b6b491d70d438062b6448e2c79f1f9a87 (patch)
tree6b2f19e0aab445125e579ab9a3985dcfcfd36198 /roles/isso/files
parent14b53bebf6313349a5082f35679b9841ec7f1ed0 (diff)
downloadplaybooks-c4fb7e6b6b491d70d438062b6448e2c79f1f9a87.tar.gz
playbooks-c4fb7e6b6b491d70d438062b6448e2c79f1f9a87.tar.bz2
playbooks-c4fb7e6b6b491d70d438062b6448e2c79f1f9a87.zip
roles/isso/files: Add files
Diffstat (limited to 'roles/isso/files')
-rw-r--r--roles/isso/files/isso.conf58
-rw-r--r--roles/isso/files/supervisord.conf30
2 files changed, 88 insertions, 0 deletions
diff --git a/roles/isso/files/isso.conf b/roles/isso/files/isso.conf
new file mode 100644
index 0000000..4677c60
--- /dev/null
+++ b/roles/isso/files/isso.conf
@@ -0,0 +1,58 @@
+# Isso configuration file
+# vim: set filetype=ini
+
+[general]
+dbpath = /opt/isso/isso-comments.db
+name = example.com
+host = https://example.com/
+max-age = 15m
+notify = stdout
+
+
+[admin]
+enabled = true
+password = changethis
+
+
+[moderation]
+enabled = false
+purge-after = 30d
+
+
+[server]
+reload = off
+profile = off
+listen = http://0.0.0.0:8100
+#public-endpoint = https://example.com/isso
+
+
+
+[smtp]
+username =
+password =
+host = localhost
+port = 587
+security = starttls
+to =
+from =
+timeout = 10
+
+
+[guard]
+enabled = true
+ratelimit = 2
+direct-reply = 3
+reply-to-self = false
+require-email = false
+require-author = false
+
+[markup]
+options = strikethrough, autolink, fenced_code, no_intra_emphasis
+allowed-elements =
+allowed-attributes =
+
+
+[hash]
+salt = TEm0Lma9rdfmxUMIxE1IWsuPUnkm
+algorithm = pbkdf2
+
diff --git a/roles/isso/files/supervisord.conf b/roles/isso/files/supervisord.conf
new file mode 100644
index 0000000..196292d
--- /dev/null
+++ b/roles/isso/files/supervisord.conf
@@ -0,0 +1,30 @@
+; Supervisor config file.
+
+[program:isso]
+command=/opt/isso/deploy/bin/isso -c /opt/isso/deploy/isso.conf run
+directory=/opt/isso/deploy
+stopasgroup=true
+stdout_logfile=/var/log/%(program_name)s.log
+stdout_logfile_maxbytes=0
+stdout_logfile_backups=0
+redirect_stderr=true
+user=isso
+
+[inet_http_server]
+port = 9100
+username = isso
+password = isso
+
+[unix_http_server]
+file=/run/supervisord.sock
+
+[supervisord]
+logfile=/var/log/supervisord.log
+loglevel=info
+user=root
+
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl=unix:///run/supervisord.sock