Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxdb add admin auth #16

Closed
echtelerp opened this issue Oct 28, 2019 · 5 comments
Closed

influxdb add admin auth #16

echtelerp opened this issue Oct 28, 2019 · 5 comments

Comments

@echtelerp
Copy link

would be adding the admin auth to influx make sense?
you could add this to the env file for influx...

  INFLUXDB_HTTP_AUTH_ENABLED: "true"
  INFLUXDB_ADMIN_USER: admin
  INFLUXDB_ADMIN_PASSWORD: adminPW
@gcgarner
Copy link
Owner

I think it would. What i can do is put all the environmental variables in that exist and put comments in front of them. That way the user can decide on what they need depending on their needs.

@gcgarner
Copy link
Owner

I've added the remainder of the environmental variables listed on influxdb's docker hub page. Would you recommend enabling HTTP_AUTH by default?

@echtelerp
Copy link
Author

I have it by default. so nobody can change my Indlux db if breached. :-)

@echtelerp
Copy link
Author

echtelerp commented Oct 28, 2019

actually i do this within a compose file.
influxdb:
restart: unless-stopped
image: echteler/influxdb:arm32v7
container_name: influxdb
environment:
INFLUXDB_DB: dbhome
INFLUXDB_HTTP_AUTH_ENABLED: "true"
INFLUXDB_ADMIN_USER: echtelerp
INFLUXDB_ADMIN_PASSWORD: PhEc103900@
INFLUXDB_USER: echteler
INFLUXDB_USER_PASSWORD: Pe103900!
ports:
- "8082:8082"
- "8086:8086"
- "8089:8089"
volumes:
- /media/usb01/dockerVolumes/influx:/var/lib/influxdb
networks:
- edge

@gcgarner
Copy link
Owner

Adding security suggestions to wiki

robertcsakany pushed a commit to robertcsakany/IOTstack that referenced this issue Apr 20, 2020
menu.sh: Fix small typo in msg "Restart Required"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants