web-site/README.md

61 lines
844 B
Markdown
Raw Permalink Normal View History

2024-02-11 12:40:33 +00:00
# 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!]
```
2024-02-13 20:22:58 +00:00
## 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>