This repository offers a package to deploy a full node environment with an Electrum server, enhancing network security and supporting community expansion.
Included Components:
- Flokicoin node
- Electrum service
- make
- Docker and Docker Compose
make start- Point
ELECTRUM_SSL_DOMAINto this host's public IP and open ports 80 and 443. - Set credentials in
.env:ELECTRUM_SSL_DOMAIN=electrum.example.com ELECTRUM_SSL_EMAIL=admin@example.com
- Issue the cert (runs certbot in a disposable container and copies to
./data/electrum/ssl):make ssl
- Renew when needed:
make renew
After issuance/renewal, restart the TLS proxy if it's already running:
docker compose restart electrum_sslOptional: Enable Discord Alerts
To receive alerts when the Electrum server is down, set DISCORD_WEBHOOK_URL in your .env file:
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/your_webhookIf unset, Discord notifications are skipped.
To automatically monitor and restart Electrum if unhealthy, register a cron job:
make register_cron