fleet/docs/2-Deployment
CptOfEvilMinions 626429c38e
Added support to read jwt and mysql password from a file (#141)
The current implementation of FleetDM doesn't support Docker secrets for supplying the MySQL password and JWT key. This PR provides the ability for a file path to read in secrets. The goal of this PR is to avoid storing secrets in a static config or in an environment variable. 

Example config for Docker:
```yaml
mysql:
  address: mysql:3306
  database: fleet
  username: fleet
  password_path: /run/secrets/mysql-fleetdm-password
redis:
  address: redis:6379
server:
  address: 0.0.0.0:8080
  cert: /run/secrets/fleetdm-tls-cert
  key: /run/secrets/fleetdm-tls-key
auth:
  jwt_key_path: /run/secrets/fleetdm-jwt-key
filesystem:
  status_log_file: /var/log/osquery/status.log
  result_log_file: /var/log/osquery/result.log
  enable_log_rotation: true
logging:
  json: true
```
2021-01-04 07:58:43 -08:00
..
1-Installation.md Part 1 of documentation restructure. Deployment section. (#147) 2020-12-24 14:00:22 -08:00
2-Configuration.md Added support to read jwt and mysql password from a file (#141) 2021-01-04 07:58:43 -08:00
3-Adding-hosts.md Part 1 of documentation restructure. Deployment section. (#147) 2020-12-24 14:00:22 -08:00
4-Example-deployment-scenarios.md Part 1 of documentation restructure. Deployment section. (#147) 2020-12-24 14:00:22 -08:00
FAQ.md Part 1 of documentation restructure. Deployment section. (#147) 2020-12-24 14:00:22 -08:00
README.md Part 1 of documentation restructure. Deployment section. (#147) 2020-12-24 14:00:22 -08:00

Deployment

Installation

Provides documentation on installing the Fleet binary and Fleets infrastructure dependencies

Configuration

Includes resources for configuring the Fleet binary, managing osquery configurations, and running with systemd

Adding hosts

Provides resources for enrolling your hosts to Fleet

Example deployment scenarios

Includes deployment walkthroughs for Fleet on CentOS, Ubuntu, and Kubernetes.

FAQ

Includes commonly asked questions and answers about deployment from the Fleet community.