Setup mail sending.

This commit is contained in:
Sia Dev 2020-12-07 11:16:21 +01:00
parent 4465569389
commit 5ce10dbd4a
4 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@ -53,6 +53,7 @@ typings/
# dotenv environment variable files # dotenv environment variable files
.env* .env*
.kratos.yml
# gatsby files # gatsby files
.cache/ .cache/

View File

@ -219,8 +219,8 @@ services:
environment: environment:
- PORT=4455 - PORT=4455
- SECURITY_MODE= - SECURITY_MODE=
- BASE_URL=https://siasky.net/secure/ - BASE_URL=https://${DOMAIN_NAME}/secure/
- KRATOS_BROWSER_URL=https://siasky.net/secure/ - KRATOS_BROWSER_URL=https://${DOMAIN_NAME}/secure/
- KRATOS_PUBLIC_URL=http://kratos:4433/ - KRATOS_PUBLIC_URL=http://kratos:4433/
- KRATOS_ADMIN_URL=http://kratos:4434/ - KRATOS_ADMIN_URL=http://kratos:4434/
networks: networks:

View File

@ -19,6 +19,7 @@ You may want to fork this repository and replace ssh keys in
- [handshake](https://handshake.org) ([github](https://github.com/handshake-org/hsd)): full handshake node - [handshake](https://handshake.org) ([github](https://github.com/handshake-org/hsd)): full handshake node
- [handshake-api](https://github.com/NebulousLabs/skynet-webportal/tree/master/packages/handshake-api): simple API talking to the handshake node - [read more](https://github.com/NebulousLabs/skynet-webportal/blob/master/packages/handshake-api/README.md) - [handshake-api](https://github.com/NebulousLabs/skynet-webportal/tree/master/packages/handshake-api): simple API talking to the handshake node - [read more](https://github.com/NebulousLabs/skynet-webportal/blob/master/packages/handshake-api/README.md)
- [webapp](https://github.com/NebulousLabs/skynet-webportal/tree/master/packages/webapp): portal frontend application - [read more](https://github.com/NebulousLabs/skynet-webportal/blob/master/packages/webapp/README.md) - [webapp](https://github.com/NebulousLabs/skynet-webportal/tree/master/packages/webapp): portal frontend application - [read more](https://github.com/NebulousLabs/skynet-webportal/blob/master/packages/webapp/README.md)
- [kratos](https://www.ory.sh/kratos/): user account management system
- discord integration - discord integration
- [funds-checker](funds-checker.py): script that checks wallet balance and sends status messages to discord periodically - [funds-checker](funds-checker.py): script that checks wallet balance and sends status messages to discord periodically
- [health-checker](health-checker.py): script that monitors health-check service for server health issues and reports them to discord periodically - [health-checker](health-checker.py): script that monitors health-check service for server health issues and reports them to discord periodically
@ -88,6 +89,7 @@ At this point we have almost everything running, we just need to set up your wal
1. only for siasky.net domain instances: edit `/home/user/skynet-webportal/docker/caddy/Caddyfile`, uncomment `import siasky.net` 1. only for siasky.net domain instances: edit `/home/user/skynet-webportal/docker/caddy/Caddyfile`, uncomment `import siasky.net`
1. `docker-compose up -d` to restart the services so they pick up new env variables 1. `docker-compose up -d` to restart the services so they pick up new env variables
1. `docker exec caddy caddy reload --config /etc/caddy/Caddyfile` to reload Caddyfile configuration 1. `docker exec caddy caddy reload --config /etc/caddy/Caddyfile` to reload Caddyfile configuration
1. add your custom Kratos configuration to `/home/user/skynet-webportal/.kratos.yml` (in particular, the credentials for your mail server should be here, rather than in your source control).
## Subdomains ## Subdomains