From 98b1e13aa1aac070032555cb8d2667aed1a114bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C4=93teris=20Caune?=
/docker/docker-compose.yml
file; add your SMTP credentials
- and any other needed environment variables./docker/.env
file.
+ As a minimum, set the following fields:DEFAULT_FROM_EMAIL
– the "From:" address for outbound emailsEMAIL_HOST
– the SMTP serverEMAIL_HOST_PASSWORD
– the SMTP passwordEMAIL_HOST_USER
– the SMTP usernameSECRET_KEY
– secures HTTP sessions, set to a random valueCreate and start containers:
$ cd docker
diff --git a/templates/docs/self_hosted_docker.md b/templates/docs/self_hosted_docker.md
index 4b8ec392..863afdaa 100644
--- a/templates/docs/self_hosted_docker.md
+++ b/templates/docs/self_hosted_docker.md
@@ -16,8 +16,13 @@ SSL-terminating load balancer or reverse proxy in front of it.
* Grab the Healthchecks source code
[from the Github repository](https://github.com/healthchecks/healthchecks).
-* Edit the `/docker/docker-compose.yml` file; add your SMTP credentials
- and any other needed [environment variables](../self_hosted_configuration/).
+* Add your [configuration](../self_hosted_configuration/) in the `/docker/.env` file.
+ As a minimum, set the following fields:
+ * `DEFAULT_FROM_EMAIL` – the "From:" address for outbound emails
+ * `EMAIL_HOST` – the SMTP server
+ * `EMAIL_HOST_PASSWORD` – the SMTP password
+ * `EMAIL_HOST_USER` – the SMTP username
+ * `SECRET_KEY` – secures HTTP sessions, set to a random value
* Create and start containers:
$ cd docker