-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1196e5f
commit 7ebb0e0
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Docker Compose | ||
|
||
## Run it on localhost | ||
|
||
Notifo needs https. This is a little bit tricky on localhost. | ||
|
||
### 1. Configure Caddy | ||
|
||
Caddy is used as a reverse proxy and also creates the certificates. Usually lets-encrypt is used for that, but for localhost we need to switch to a local certificate authority. | ||
|
||
Therefore you have to comment out the following line in `docker-compose.yml`: | ||
|
||
```yml | ||
# - SITE_SETTINGS="tls internal" | ||
``` | ||
|
||
### Step 2 Download the root certificate | ||
|
||
Caddy usually installs the root certificate, but this is not available on docker. Therefore we have to install the root certificate manually. First download the certificate from the docker container: | ||
|
||
docker cp docker-compose-notifo_proxy-1:/data/caddy/pki/authorities/local/root.crt . | ||
|
||
Next install the certificate to the **trusted root authorities store**. You might need to restart chrome after that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters