Update README.md

This commit is contained in:
giles 2024-02-11 12:40:33 +00:00
parent 7ca203ee66
commit ed79c441cf
1 changed files with 54 additions and 56 deletions

110
README.md
View File

@ -1,56 +1,54 @@
# Village hall website # Village hall website
This is the configuration for the **docker stack** running village hall web site. This is the configuration for the **docker stack** running village hall web site.
Served by a reverse proxy running on another docker stack. Served by a reverse proxy running on another docker stack.
## secrets ## build
you need to put secrets in the following files ```sh
### .email sh build.sh
``` ```
{
"transport": "SMTP", ## deploy
"options":
{ ```sh
"service": "Mailgun",
"host": "smtp.eu.mailgun.org", sh deploy.sh
"secure": true, ```
"port": 465,
"auth": { ## secrets
"user": "[secret!!]",
"pass": "[secret!]" ![](./dont-tell-him-pike.jpeg)
} ### .email
}
} ```
``` {
"transport": "SMTP",
### .db-password "options":
{
``` "service": "Mailgun",
[secret!] "host": "smtp.eu.mailgun.org",
``` "secure": true,
"port": 465,
### .db-root-password "auth": {
"user": "[secret!!]",
``` "pass": "[secret!]"
[secret!] }
``` }
}
## build ```
```sh ### .db-password
sh build.sh ```
[secret!]
``` ```
## deploy ### .db-root-password
```sh ```
[secret!]
sh deploy.sh ```
```