2022-01-02 12:37:45 +01:00
|
|
|
# Installation
|
|
|
|
|
2022-01-02 13:17:26 +01:00
|
|
|
## Deployment
|
|
|
|
|
|
|
|
Copy the `docker-compose.yml` template into your project folder and start the container.
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
The initial configuration can be done automatically through docker instructions, or post-installation via the InfluxDB UI or CLI setup.
|
|
|
|
|
2022-01-02 13:25:19 +01:00
|
|
|
*For more info visit:* [Official InfluxDB Installation Documentation](https://docs.influxdata.com/influxdb/v2.1/install/)
|
2022-01-02 12:37:45 +01:00
|
|
|
|
|
|
|
# Best-Practices & Post-Installation
|
|
|
|
|
|
|
|
## Disable HTTP
|
|
|
|
|
|
|
|
It's not secure to expose InfluxDB via the HTTP protocol. Follow these steps to enable HTTPS only.
|
|
|
|
|
|
|
|
### (Option 1): Upload custom certificates
|
|
|
|
|
2022-01-10 09:30:01 +01:00
|
|
|
TODO: #15 Test Docker-Compose for InfluxDB2
|
2022-01-02 12:37:45 +01:00
|
|
|
|
|
|
|
- [ ] Run the container with tls parameters
|
|
|
|
`influxd --tls-cert=/etc/ssl/cert.pem --tls-key=/etc/ssl/cert-key.pem`
|
|
|
|
|
|
|
|
### (Option 2): Use a Reverse Proxy
|
|
|
|
|
2022-01-10 09:30:01 +01:00
|
|
|
- [ ] Use a Reverse Proxy to securely expose administrative services.
|
2022-01-02 12:37:45 +01:00
|
|
|
|
|
|
|
# Additional Referfences
|
|
|
|
|
|
|
|
[Official InfluxDB Documentation](https://docs.influxdata.com/influxdb/v2.1/)
|