From b735906a5f5b1f110037973b70d26790a952e756 Mon Sep 17 00:00:00 2001 From: Cat Date: Sun, 6 Apr 2025 14:00:12 +0200 Subject: [PATCH 1/2] Added Caddy instructions to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8e8b18fd..9db3f58f 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ Make sure to set the `APP_URL` env to the domain you want to use for your proxy. Also make sure that the proxy is configured to pass forward important request information like the scheme, host and IP. +#### Nginx ```nginx location / { proxy_set_header Connection ""; @@ -151,6 +152,13 @@ location / { } ``` +#### Caddy +```caddy +input.example.com { + reverse_proxy 127.0.0.1:8080 +} +``` + ### With MySQL To use MySQL as database, you need to set the following environment variables in your `.env` file: From 137ad8078b7e001867a0f4661d2af4c15caeaa5a Mon Sep 17 00:00:00 2001 From: Cat Date: Sun, 6 Apr 2025 14:15:22 +0200 Subject: [PATCH 2/2] Added mail & no-mail setup to README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 9db3f58f..6bf24c94 100644 --- a/README.md +++ b/README.md @@ -171,3 +171,20 @@ DB_HOST= DB_USERNAME= DB_PASSWORD= ``` + +### With e-mail + +To allow input to send e-mails, you need to set the following environment variables in your `.env` file: +```dotEnv +### Mail Config +MAIL_MAILER=smtp +MAIL_HOST= +MAIL_USERNAME= +MAIL_PASSWORD= +MAIL_PORT=1025 +MAIL_ENCRYPTION=tls +``` +The different mailers are defined in [config/mail.php](config/mail.php), but may require additional configuration (see [config/services.php](config/services.php)) + +### Without e-mail +In case you do not wish to use e-mail, buit still want to invite someone: setting `MAIL_MAILER=log` in your `.env` file will send the invite links (or any e-mails for that matter) to the logs. Note that this the default option for **Docker** configurations.