mirror of
https://github.com/fluencelabs/node-distro
synced 2025-06-01 00:51:22 +00:00
How to deploy Fluence
- Edit deployment_config.json to your needs (explanations: TBD)
- Install docker:
fab install_docker
- Edit
fluence.yml
andfluence_bootstrap.yml
to your needs - Deploy fluence:
fab deploy_fluence
- If you need https, deploy caddy:
fab deploy_caddy
- If you need slack notifications about containers state, deploy watchdog:
fab deploy_watchdog
Fluence deployment scripts and configs
deployment_config.json
– contains list of IPs to use for deployment
fab deploy_fluence
– deploys fluence, mediated by fluence.yml
and fluence_bootstrap.yml
fab install_docker
– installs docker and docker-compose (+ haveged)
fab deploy_watchdog
– deploys a watchdog to monitor containers (change SECRET
to desired webhook URL)
fab deploy_caddy
– deploys Caddy 2.0, configured in code
Prometheus
/prometheus
contains basic configuration file, HTML consoles are TBD
How to deploy Fluence with docker
- Edit
fluence.yml
andfluence_bootstrap.yml
to your needs - Build image:
docker build -t deploy .
- Run
docker run -v $HOME/.ssh:/root/.ssh:ro deploy deploy_fluence
(you can usedeploy_caddy
ordeploy_watchdog
instead ofdeploy_fluence
as well)