Skip to content

Commit 9fa088f

Browse files
committed
Clean up and secure setup
- For InfluxDB - force authentication - Remove unused ports - For Grafana - Disallow user signup
1 parent 0839a0a commit 9fa088f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ influxdb:
22
image: influxdb:latest
33
container_name: influxdb
44
ports:
5-
- "8083:8083"
65
- "8086:8086"
7-
- "8090:8090"
86
env_file:
97
- 'env.influxdb'
108
volumes:

env.grafana

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
GF_INSTALL_PLUGINS=grafana-clock-panel,briangann-gauge-panel,natel-plotly-panel,grafana-simple-json-datasource
2+
GF_USERS_ALLOW_SIGN_UP=false

env.influxdb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
INFLUXDB_DATA_ENGINE=tsm1
21
INFLUXDB_REPORTING_DISABLED=false
2+
INFLUXDB_HTTP_AUTH_ENABLED=true

0 commit comments

Comments
 (0)