57 lines
619 B
Markdown
57 lines
619 B
Markdown
|
# Village hall website
|
||
|
|
||
|
This is the configuration for the **docker stack** running village hall web site.
|
||
|
|
||
|
Served by a reverse proxy running on another docker stack.
|
||
|
|
||
|
## secrets
|
||
|
|
||
|
you need to put secrets in the following files
|
||
|
|
||
|
### .email
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"transport": "SMTP",
|
||
|
"options":
|
||
|
{
|
||
|
"service": "Mailgun",
|
||
|
"host": "smtp.eu.mailgun.org",
|
||
|
"secure": true,
|
||
|
"port": 465,
|
||
|
"auth": {
|
||
|
"user": "[secret!!]",
|
||
|
"pass": "[secret!]"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### .db-password
|
||
|
|
||
|
```
|
||
|
[secret!]
|
||
|
```
|
||
|
|
||
|
### .db-root-password
|
||
|
|
||
|
```
|
||
|
[secret!]
|
||
|
```
|
||
|
|
||
|
## build
|
||
|
|
||
|
```sh
|
||
|
|
||
|
sh build.sh
|
||
|
|
||
|
```
|
||
|
|
||
|
## deploy
|
||
|
|
||
|
```sh
|
||
|
|
||
|
sh deploy.sh
|
||
|
```
|
||
|
|