From 45ecdf59f8b0c4090041ce86aad2e5f606253f0d Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sat, 13 May 2023 19:19:37 +0100 Subject: Migrate config library to TOML --- config/config.example.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config/config.example.toml (limited to 'config') diff --git a/config/config.example.toml b/config/config.example.toml new file mode 100644 index 0000000..1ffbeb7 --- /dev/null +++ b/config/config.example.toml @@ -0,0 +1,33 @@ +[general] +# Your domain goes here. If there is a port it should be 'domain.com:port', but +# otherwise just 'domain.com'. +domain = "localhost:3000" +port = "3000" +email = "contact@example.com" +site_name = "gathio" +is_federated = true +# If left blank, this defaults to +# https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to +# change it to your own logo (or just change the file itself). +email_logo_url = "" +# Show a Ko-Fi box to donate money to Raphael (Gathio's creator) on the front +# page. +show_kofi = false +# Which mail service to use to send emails to hosts and attendees. Options are +# 'nodemailer' or 'sendgrid'. Configure settings for this mail +# service below. +mail_service = "nodemailer" + +[database] +# Set up for a locally running MongoDB connection. Change this to +# 'mongodb://mongo:27017/gathio' for a Dockerised connection. +mongodb_url = "mongodb://localhost:27017/gathio" + +[nodemailer] +smtp_server = "" +smtp_port = "" +smtp_username = "" +smtp_password = "" + +[sendgrid] +api_key = "" -- cgit v1.2.3