web-site/README.md

61 lines
844 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.
## build
```sh
sh build.sh
```
## deploy
```sh
sh deploy.sh
```
## secrets
![](./dont-tell-him-pike.jpeg)
### .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!]
```
## install on new droplet
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
docker swarm init --advertise-addr=<IP-ADDRESS-OF-MANAGER>